cbarn.gs
Diane Stokes
Diane.Stokes at NOAA.GOV
Fri Oct 23 11:54:50 EDT 2009
Esther,
You can make a new version of cbarn.gs that includes:
'set vpage off'
after the shading info is stored, but before the plot size is determined.
I'm attaching a version I frequently use. It includes extra optional
arguments to: reset the virtual page (what you want), modify the label
thickness, and print the values diagonally (useful for horizontal bars
with many values).
I hope this helps.
Diane
Esther Romero Olivares wrote:
> Thanks!
>
> But if I have used the "set vpage" command it will plot the legend
> inside the virtual page defined, even if I don't specified any
> parameter.
>
> If I use after the plot "set vpage off" to return to the default state
> where the real page equals the virtual one it says that does not have
> any shading information.
>
> I would like to have many plots but just one legend in the bottom of the
> page...
>
> Thanks again!
>
> Esther.
>
> El jue, 22-10-2009 a las 14:11, eliav schmulewitz escribió:
>> Esther
>> sure you can
>> if you open the cbarn script that is in the same file as your grads
>> probably in a file called scripts
>> it explains as folows:
>> "run cbarn sf vert xmid ymid
>> *
>> * sf - scale the whole bar 1.0 = original 0.5 half the size, etc.
>> * vert - 0 FORCES a horizontal bar = 1 a vertical bar
>> * xmid - the x position on the virtual page the center the bar
>> * ymid - the x position on the virtual page the center the bar
>> *
>> * if vert,xmid,ymid are not specified, they are selected
>> * as in the original algorithm"
>> good luck
>> eliav
>>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cbarnv.gs
Url: http://gradsusr.org/pipermail/gradsusr/attachments/20091023/55d40672/attachment.pl
More information about the gradsusr
mailing list