Re: Histogram label bar

From: Seth McGinnis <mcginnis_at_nyahnyahspammersnyahnyah>
Date: Tue Jun 14 2011 - 11:55:47 MDT

Ah, okay! I get it now. The part that was confusing me was the idea of
shrinking the original plot down so that the added annotations would fit inside
the bounding box, and then resizing everything at the end using
maximize_output().

Thanks!

--Seth

On Tue, 14 Jun 2011 07:46:14 -0600
 Mary Haley <haley@ucar.edu> wrote:
>Hi Seth,
>
>The best way to make one plot appear as an annotation of another plot, and to
>position it wherever you like, is to use gsn_add_annotation.
>
>We have a page of annotation examples:
>
>http://www.ncl.ucar.edu/Applications/annotate.shtml
>
>You might want to look at example 6, as it shows how to add a plot outside
>another plot.
>
>The key to getting the necessary space to fit all the plots is to use
>maximize_output at the
>end to resize all the plots.
>
>If you just want to put a labelbar on a plot, then look at example 2 on the
>same page.
>This labelbar is added inside the plot, but you can attach it outside the plot
>using gsn_add_annotation.
>
>--Mary
>
>On Jun 14, 2011, at 12:18 AM, Seth McGinnis wrote:
>
>> I want to use a histogram as a label bar on an X-Y plot.
>>
>> I've figured out how to overplot a suitably-formatted histogram on an X-Y
>plot,
>> but if it try to place it in the usual place below the plot, it gets cut off
>by
>> the bounding box.
>>
>> How can I increase the bounding box on the X-Y plot to allow extra space
>> underneath? Better yet, is there a way to get a standard label bar on an
>X-Y
>> plot, so that I could overplot on that?
>>
>> Thanks,
>>
>> --Seth McGinnis
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
Received on Tue Jun 14 11:55:48 2011

This archive was generated by hypermail 2.1.8 : Mon Jun 20 2011 - 12:30:20 MDT