[ncl-talk] [ncarg-talk] Problem with Panel plot
Mary Haley
haley at ucar.edu
Fri Apr 17 16:06:39 MDT 2015
Hi,
I would draw all 9 plots in one panel using a 3 x 3 (rows x columns)
configuration, so you are assured they are all the same size, then I would
add the labelbars by hand by using gsn_create_labebar with positioning and
size resources set (vpXF, vpYF, vpWidth, vpHeightF).
See the attached script, which I plan to clean up and make into a real
example.
You should be able to run it as-is, because I'm using dummy data.
You might want to tweak it some more to get the labelbars positioned just
right.
--Mary
--Mary
On Fri, Apr 17, 2015 at 4:18 AM, Appo derbetini <appopson4 at gmail.com> wrote:
> Dear Mary,
> Sorry for this confusion where to send my email.
>
> Normally, all figure have the same size but different colorbar.
>
> You can see attached the figure produced
>
> regards,
> Appolinaire
>
>
>
>
> 2015-04-16 22:18 GMT+01:00 Mary Haley <haley at ucar.edu>:
>
>> In the future, please post your NCL questions to ncl-talk at ucar.edu and
>> not ncarg-talk at ucar.edu. You need to subscribe first:
>>
>> http://mailman.ucar.edu/mailman/listinfo/nc
>> <http://mailman.ucar.edu/mailman/listinfo/ncarg-talk>l-talk
>>
>> The issue is likely that you are paneling plots of different sizes. See
>> example panel_24.ncl at on our panel page, which shows how to fix this.
>>
>> http://www.ncl.ucar.edu/Applications/panel.shtml#ex24
>>
>> --Mary
>>
>> On Thu, Apr 16, 2015 at 9:22 AM, Appo derbetini <appopson4 at gmail.com>
>> wrote:
>>
>>> Dear Users,
>>>
>>> I try to use example 33 of panel.
>>>
>>> I want to plot the mean of 3 CMIP5 simulations (1985-2014) in the first
>>> row.
>>>
>>> Then I'm trying to add two other lines for their respective anomalies
>>> (1930-1959; 1971-2100).
>>>
>>> But,the size of the plot in first and the two other lines look different.
>>>
>>> How can adjust the script to feet what I am trying to have?
>>>
>>> Appolinaire
>>> _______________________________________________
>>> ncarg-talk mailing list
>>> ncarg-talk at ucar.edu
>>> http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
>>>
>>
>>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150417/aef079f9/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: panel.png
Type: image/png
Size: 86377 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150417/aef079f9/attachment.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: panel_34.ncl
Type: application/octet-stream
Size: 5307 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150417/aef079f9/attachment.obj
More information about the ncl-talk
mailing list