[gradsusr] Colorbars

Jeffrey Duda jdduda at iastate.edu
Mon Apr 4 10:30:59 EDT 2011


Simon,
The solution is pretty simple.  Write a script that has this skeleton:

n = 1
while (n <= nfinal)
 'set t 'n
 'set gxout shaded'
 'set clevs ...'
 'set ccols ...'
 'd variable'
 n = n + 1
endwhile

Jeff Duda

On Mon, Apr 4, 2011 at 2:29 AM, Simon Kiertscher <simon.kiertscher at gmx.de>wrote:

> Yes you can control it by set clevs, but i hoped there would be a script
> doing all that for me. I can't use the scripts I found the way they are
> at the moment. And doing it by my self would be very expensive. Any
> other ideas?
>
> Best Regards,
> Simon
> > I believe you need to set the clevs so that the range in the color bar is
> > fixed for each timestep at which the variable is plotted
> >
> > set clevs ...
> >
> > --
> > Muhammad Rahiz
> > Researcher & DPhil Candidate (Climate Systems & Policy)
> > School of Geography & the Environment
> > University of Oxford
> >
> > On Fri, 1 Apr 2011, Simon Kiertscher wrote:
> >
> >
> >> Hi All,
> >> I have a question about colorbars. I have already found several scripts
> >> for drawing a colorbar under a picture (e.g. cbar.gs, xcbar.gs ...).
> >> That works fine. My Problem is, I would like to make a video out of a
> >> couple of pictures from one time line. The problem is that the colorbar
> >> always shows the max and min of the current picture. Therefor my video
> >> has a changing colorbar what is really not what I want. I want to have
> >> fixed colorbar about the whole video length. I hope i could explain my
> >> problem good enough. Any ideas how to do that? Are there eventually a
> >> script which has a parameter to enter the maximum and minimum values?
> >> Thank & Best Regards,
> >> Simon
> >>
> >> _______________________________________________
> >> gradsusr mailing list
> >> gradsusr at gradsusr.org
> >> http://gradsusr.org/mailman/listinfo/gradsusr
> >>
> >>
> > _______________________________________________
> > gradsusr mailing list
> > gradsusr at gradsusr.org
> > http://gradsusr.org/mailman/listinfo/gradsusr
> >
> >
>
> _______________________________________________
> 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/20110404/0a9256b2/attachment-0003.html 


More information about the gradsusr mailing list