[gradsusr] Changing line options

Jeffrey Duda jdduda at iastate.edu
Thu Dec 2 10:25:54 EST 2010


Rashed,
For line plots, use "set ccolor" to change the color of each individual line
instead of "set line".

Jeff Duda

On Thu, Dec 2, 2010 at 9:14 AM, Rashed Mahmood <rashidcomsis at gmail.com>wrote:

> Hi
>
> I am trying to draw three lines from three files on one page. They are
> drawn easily but since the variable is the same variable for all
> three inputs so it becomes difficult identify which line  is for which
> input. I tried to do it using set line option but it did not work. I am
> using GrADS 2.9 with windows system. Here is my script:
>
> 'reinit'
> 'set display color white'
> 'c'
> 'sdfopen d:\anom_ind.nc'
> 'sdfopen d:\anom_ea.nc'
> 'sdfopen d:\anom_ea_ind.nc'
> 'set lat 10 60'
> 'set xlopts 1 5 0.17'
> 'set ylopts 1 5 0.17'
> 'set grads off'
> 'set gxout line'
> 'set line 5 5 6'
> 'd ano.1'
> 'set line 6 6 6'
> 'd ano.2'
> 'set line 7 7 6'
> 'd ano.3'
>
> Any suggestions (except drawing the lines on separate files). The output is
> attached.
>
> Thanks
> Rashed
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
Jeff Duda
Iowa State University
Meteorology Graduate Student
3134 Agronomy Hall
www.meteor.iastate.edu/~jdduda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20101202/5698c883/attachment-0003.html 


More information about the gradsusr mailing list