Re: Turning tmLabels back on in panel plot

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Mon Dec 07 2009 - 08:25:45 MST


If you are trying to panel plots that are slightly different sizes,
then what may be happening is that you do have bottom labels, but
they may be getting drawn off paper because those plots are bigger
than the rest of your paneled plots.

 From your description, I'm not sure exactly what you are trying to
do, but I tried to come up with a sample panel plot that illustrates
the problem. To fix the problem, I set the special panel resource
"gsnPanelScalePlotIndex" to the index of one of the larger plots, so
that the scale factor is based on this, and not the default first
plot, which is smaller.

See the attached panel_labels.ncl script. Note that in the first
frame, the labels start to run off. In the second, this is fixed.


On Dec 6, 2009, at 4:10 PM, Gina Henderson wrote:

> Hi there,
> I am having a problem when I try and turn tickmark labels back on
> in a panel plot. I used:
> res@tmXBLabelsOn = False
> res@tmXBOn = False
> to turn off the bottom X axis tickmarks and labels for some of plot
> in a panel plot. However when I use:
> delete(res@tmXBLabelsOn)
> delete(res@tmXBOn)
> before plotting the last panel where I want the X axis labels, I
> only get tickmarks and no labels. I have tried playing with the
> order of the calls but nothing gets me the tickmarks back other
> than turning off the setting entirely, leaving all X axis labels
> on. Can anyone suggest where I should be looking for an error? Each
> plot within the panel is overlayed, before being plotted in a
> panel. Does this make a difference?
> Thanks, Gina.
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:

ncl-talk mailing list
List instructions, subscriber options, unsubscribe:

Received on Mon Dec 7 08:25:56 2009

This archive was generated by hypermail 2.1.8 : Mon Dec 07 2009 - 16:12:30 MST