Hi Ismaila<br>I think that You should use one "run cbarn" command in your script. I hope that it will be fix your problem.<br>good luck<br><br><div class="gmail_quote">On Mon, Jan 3, 2011 at 1:43 PM, Ismaila Diallo <span dir="ltr"><<a href="mailto:ismailadiallo64@yahoo.fr">ismailadiallo64@yahoo.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br>
<br>
Hi grads user's,<br>
<br>
<br>
Happy new year and my best wishes. So i need a script who help me to plot one<br>
colour bar for many plot in one page. therefore the plot bar that i use are cbar<br>
<br>
or cbarn or cbarm.<br>
There you have my script with four plot:<br>
<br>
sdfopen <a href="http://rain.nc" target="_blank">rain.nc</a><br>
q file<br>
set display color white<br>
set lon -10 20<br>
set lat 0 25<br>
set mpdset hires<br>
set clevs 0 2 4 6 8 10 12 14 16<br>
set gxout shaded<br>
set vpage 0 5.5 4.25 8.5<br>
define aa=ave(rt,t=1,t=3)<br>
d aa<br>
run cbarn<br>
draw title JJA<br>
<br>
set vpage 5.5 11 4.25 8.5<br>
<br>
<br>
set display color white<br>
set lon -10 20<br>
set lat 0 25<br>
set mpdset hires<br>
set clevs 0 2 4 6 8 10 12 14 16<br>
set gxout shaded<br>
define bb=ave(rt,t=4,t=6)<br>
d bb<br>
draw title JFM<br>
<br>
set display color white<br>
set lon -10 20<br>
set lat 0 25<br>
set mpdset hires<br>
set clevs 0 2 4 6 8 10 12 14 16<br>
set gxout shaded<br>
set vpage 0 5.5 0 4.25<br>
define cc=ave(rt,t=7,t=9)<br>
d cc<br>
<br>
run cbarn<br>
draw title AMJ<br>
<br>
set vpage 5.5 11 0 4.25<br>
set display color white<br>
set lon -10 20<br>
set lat 0 25<br>
set mpdset hires<br>
set clevs 0 2 4 6 8 10 12 14 16<br>
set gxout shaded<br>
define dd=ave(rt,t=10,t=12)<br>
d dd<br>
run cbarn<br>
draw title OND<br>
<br>
printim image.jpg<br>
eog image.jpg<br>
<br>
<br>
<br>
There is my script but here for each plot you have a colour bar. Now i would<br>
like to get one colour bar for all this four plot. How must i do?????<br>
Hope in you great help<br>
<br>
Sincerely<br>
cheers!!!<br>
ismaila<br>
<br>
<br>
<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</blockquote></div><br>