[gradsusr] Contour level setting and use of cbarc in grads
Kyle Clem
Kyle.Clem at vuw.ac.nz
Sat Jan 10 00:14:16 EST 2015
'set clevs' allows you to set specific contour levels. If you define these before each display and keep the contour intervals the same, you can achieve a fixed contour level for each plot. To define colors to these contour levels, you would use the 'set ccols' command. You can use the default colors that Grads has found at http://www.iges.org/grads/gadoc/colorcontrol.html to define the colors of you want for each contour level. The background color is 0. So, here's an example of something you want. If you wanted contour levels of -2, -1, 1, and 2, and you wanted the values between -1 and 1 to have no color (background), and values between -1 and -2 to be blue, and values less than -2 to be purple, and then values between 1 and 2 to be orange, and values greater than 2 to be red, it would look like this:
'set clevs -2 -1 1 2'
'set ccols 9 4 0 8 2'
Hope this helps!
----------------------
Kyle Clem, M.Sc.
PhD Student
School of Geography, Environment and Earth Sciences
Victoria University of Wellington
Cotton Building, Room 222
kyle.clem at vuw.ac.nz
________________________________
From: gradsusr-bounces at gradsusr.org [gradsusr-bounces at gradsusr.org] on behalf of dolesibeni [dolesibeni at gmail.com]
Sent: Saturday, January 10, 2015 5:31 PM
To: gradsusr at gradsusr.org
Subject: [gradsusr] Contour level setting and use of cbarc in grads
Dear All,
I have been working with COSMO MODEL and using grads to display outputs graphically. However, people's tests are over taken by the GFS outputs the get on the web especially when it comes to display precipitation legend or color bar. When i tried to follow the same, i notedd that iam failing to fix the threashold of rainfall or temperatures on the legend. Everytime i run, the values on the bar also change depending on the values of the output. Can anyone help me to fix this so that when i am animating the outputs values oof the legend threshhold should remain fixed. Another question is on fixing ama a color to separate the lower and uopper limit of the threshhold say temperatures from -10 to 10 snd would like to fix zero(0) with a unique color say black or white to separate the two direction on cbarc.gs, how can this be done.
Sent from Samsung tablet
Jennifer Adams <jma at cola.iges.org> wrote:
Are you sure that your descriptor files are the same? It looks like the mac descriptor has the grid definition wrong, or maybe there is an extra column in the data (lon is set from 0 to 360). What happens if you change the domain on your mac using ‘set lon 0 360’ — can you duplicate the linux version?
A useful thing to check would be file size compared to grid size definitions. You file should be xsize*ysize*zsize*tsize*4 bytes large.
—Jennifer
On Jan 5, 2015, at 4:09 PM, Marjahn Finlayson <mfinlayson at wesleyan.edu<mailto:mfinlayson at wesleyan.edu>> wrote:
Hi,
I'm having trouble with a dataset that was created on a Linux machine and was downloaded on a Mac laptop. My colleague and I are using the same data: she is using a Linux and I am on a Mac laptop. I've attached the same graph of this dataset from both computers.
Can anyone explain the issue here?
Thanks.
Marjahn
<vws.eps><vws.mac.eps>_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org<mailto:gradsusr at gradsusr.org>
http://gradsusr.org/mailman/listinfo/gradsusr
--
Jennifer M. Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
111 Research Hall, Mail Stop 2B3
George Mason University
4400 University Drive
Fairfax, VA 22030
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20150110/6d701204/attachment.html
More information about the gradsusr
mailing list