How to plot the contour shaded with a color bar?

Eduardo Agosta Scarel eduardo.agosta at GMAIL.COM
Tue Jul 29 14:38:35 EDT 2008


Fang,
Verify whether you data are whithin the interval range you proposed (usually
if your data interval is out of the settings, one-coloured shade is
drawn).....or try to put the cbar after the display command...or use it as
run c:\...path...\cbarn.gs


I hope it helps.

Eduardo.

2008/7/29 Qingfang Dai <qdai at math.ualberta.ca>

> Dear all users,
>
> I want to plot EOF data into contour shaded with a color bar. Now my GS
> file
> is as follows:
>
> 'reinit'
> 'open ../ABMapsForReport/EOF_Jan.ctl'
> 'set grads off'
> 'set mproj nps'
> 'set grid off'
> 'set frame off'
> 'set gxout shaded'
> 'set clevs -20 -18 -16 -14 -12 -10 -8 -6 -4 -2 0 1'
> 'set ccols 9 14 4 11 5 13 3 10 7 12 8 2 6'
> 'set cstyle 1'
> 'set csmooth off'
> 'set t 1 1'
> 'set mpdset ../province'
> 'd prep'
> 'set font 1'
> 'set string 1 tc 3'
> 'set strsiz 0.15 0.15'
> 'draw title EOF1 1961-2000 January'
> 'cbarn'
> 'printim ../EOF1_Jan.gif gif white'
>
> But I don't know why the color bar I got without data. I am wondering how
> to
> plot a coutour shaded with a color bar which display each color denotes
> each
> data interval. Thanks.
>
>
> Yours Faithfully,
>
> Fang
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20080729/77d23821/attachment.html 


More information about the gradsusr mailing list