Re: design of paneled bar charts

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu May 09 2013 - 10:52:02 MDT

Hi Kristina,

See example panel_30.ncl (which I just created) at:

I think the "hopping" issue may be due to NCL picking different "nice" values for the minimum and maximum of your XY bar charts.

If you want the same min/max for each plot, you need to set


to whatever values you want to use for all plots.

I'm not sure how you are creating the bar charts and associating them with the map. In other words, did you go with overlays, or gsn_add_annotation, or something else?

As for outlining the bars only: the outline-only resource is for when you are just outlining the bars, and not filling them. I can see that it would be useful to have this resource available for both, however.

You can get the same effect by drawing the second set of bars with a fill color of "transparent". The panel_30.ncl example shows how to do this.


On May 9, 2013, at 3:54 AM, Kristina Fröhlich wrote:

> Dear all,
> I have two questions on the design of my plots:
> 1. I want to display a panel of statistical plots over a map and I am confronted with the different size of the barcharts which results in "hopping figures", see the colored plot. I searched for a possibility of a fixed y-axis but could not find such a ressource.
> is there any trick? If possible I want to avoid plotting a transparent dummy bar because this seems to me making the code a bit "intransparent".
> 2. I tried to display the same figure drawing only the outlines of the bars. Here, I was not able to control neither the linethickness nor a line color, although I applied the following ressources
> tres@gsnXYBarChartOutlineOnly= True
> tres@gsnXYBarChartOutlineThicknessF=4.
> tres@gsnXYBarChartFillLineThicknessF=10.
> Since I plan to overlay later two,..., of such statistics for comparison I would be happy to get a solution for this
> Thanks in advance, Kristina
> <JJA_talagrand_map_baroutl.png><JJA_talagrand_map.png>_______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:

ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Thu May 9 10:52:12 2013

This archive was generated by hypermail 2.1.8 : Wed May 15 2013 - 10:19:28 MDT