Re: Clipping Outside of Map Viewport

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Tue, 26 May 2009 11:37:50 -0600 (MDT)


What are you currently trying to use to plot the text?

In order to plot random text outside of any plot (map or not), you
need to use NDC (normalized device coordinates), and not plot
coordinates. This is what the gsn_text_ndc function is for.

If you are trying to accomplish this by creating a tickmark object
yourself, then this should work. However, you have to know some things
about this in order for it to work properly (like getting the zone
number correct and doing the overlay properly).

So, I need to know how you are currently adding the text before
I know how to properly answer the question.


On Tue, 26 May 2009, Lunde, Bruce N CIV NAVOCEANO, NP1 wrote:

> Hello,
> When using the gsn MAP routines, NCL controls
> the tickmark locations (at least to a greater
> degree than I wish) and only allows flexibility
> with the cylindrical projection.
> As a work-around I have written some code to
> create tickmarks at the intervals (locations)
> I wish (which is projection dependent).
> However, my last hurdle is getting NCL to allow
> me to plot text outside of the MAP viewport.
> Is there some way to get NCL to recognize the
> vpClipOn=True|False so I can plot outside of
> the map ? Will this parameter allow me to do
> this ?
> I can send code if needed.
> Thanks, Bruce
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Tue May 26 2009 - 11:37:50 MDT

This archive was generated by hypermail 2.2.0 : Mon Jun 01 2009 - 07:47:27 MDT