[ncl-talk] Custom panel plot

Appo derbetini appopson4 at gmail.com
Tue May 22 01:14:31 MDT 2018


Dear James,
Thank you very much for your kind help.
Hera attached figure i'm trying to plot.

What i would like to do is to have plot such that column 1 with his
colorbar and the other columns with an unique colorbar.

Regards

2018-05-18 16:32 GMT+01:00 James Russell <jorussel at ncsu.edu>:

> Hi Appo,
>
> From the description that you've given so far, you should be able to
> create the figure you want using those examples. I assume though that you
> are having other specific issues since they haven't been useful. If you
> could give a bit more detail on the specific problems you're having and the
> specific figure you're trying to create we might be able to help a bit
> more. Perhaps an example image would be useful too?
>
> James
>
> ------------------------------------------------------------
> -----------------
> Graduate Research & Teaching Assistant
> PhD Student: Atmospheric Science
> Department of Marine, Earth, and Atmospheric Sciences
> North Carolina State University
> http://go.ncsu.edu/james-russell
> --------------------------------------------------------------------------
>
>
> On Fri, May 18, 2018 at 9:32 AM, Appo derbetini <appopson4 at gmail.com>
> wrote:
>
>> Dear James,
>> Thank you for help and advice.
>> I'm working since a week on that plot.
>> I check all examples available through the link you send.
>> Unfortunately, i am unable to reproduce this panel plot.
>>
>> Appo
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> 2018-05-18 13:21 UTC+01:00, James Russell <jorussel at ncsu.edu>:
>> > Hi,
>> >
>> > This page has examples that should help you:
>> > https://www.ncl.ucar.edu/Applications/panel.shtml
>> >
>> > Examples 15-18 on that page provide some information on how to deal with
>> > multiple color bars in the same panel plot.
>> >
>> > If you are trying to plot multiple different images I expect you’ll
>> still
>> > run into problems. gsn_panel is difficult to use with multiple different
>> > images since it expects that all images are the size and shape of the
>> first
>> > image. This leads to overlapping images or images falling off the edge
>> > etc.. Rather than using gsn_panel I suggest using the viewport
>> resources to
>> > resize each plot Individual plot to fit together. Example 20 in the
>> above
>> > link has an example of that style of coding to make a panel plot.
>> >
>> > Hopefully that helps,
>> > James
>> >
>> >
>> >
>> > On Fri, May 18, 2018 at 6:19 AM Appo derbetini <appopson4 at gmail.com>
>> wrote:
>> >
>> >> Dear all,
>> >> I want to draw a 6x4 panel plot such as
>> >>
>> >> - Left most column with its own horizontal colorbar
>> >> - Right most column with its own horizontal colorbar
>> >> - columns 2 and 3 sharing a common horizontal labelbar
>> >>
>> >> But I am having some problem.
>> >>
>> >> Any suggestion is welcome.
>> >>
>> >>
>> >>
>> >>
>> >> _______________________________________________
>> >> ncl-talk mailing list
>> >> ncl-talk at ucar.edu
>> >> List instructions, subscriber options, unsubscribe:
>> >> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>> >>
>> > --
>> > This message was sent from my mobile device. Sorry for the brevity!
>> >
>> > go.ncsu.edu/james-russell
>> >
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180522/bb152ea3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: panel_plot.png
Type: image/png
Size: 262785 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180522/bb152ea3/attachment.png>


More information about the ncl-talk mailing list