Re: Markers near edge of plot

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Mon, 16 Jun 2008 17:15:44 -0600 (MDT)

Hi Carl,

I would have expected that the markers would have been clipped
automatically, given that the gsClipOn resource is True by default.

This resource doesn't have any effect if you have an irregular
transformation, which you don't have here, I think. I'll look into
it.

--Mary

On Fri, 13 Jun 2008, Carl J. Schreck, III wrote:

> I have a question regarding Markers near the edge of an xy-plot. I am
> wondering if there is a way to do two things:
>
> 1) Clip markers that are near the edge of a plot so nothing appears outside
> the plot
>
> 2) For markers that are just outside the plot, I would like to show the part
> of the marker that falls inside.
>
> I have attached a modified version of the gsun01n.ncl example to show what I
> mean. The first frame is essentially the original example. I would like ncl
> to clip the part of the top asterisk that is outside the plot.
>
> On the second frame, I've changed the maximum axis to 4.85. I'd like to
> still show the part of the top asterisk (y=5) that would lie inside the plot
> if it were drawn, but also clip the two next to it that go outside the plot.
>
> Let me know if you have any suggestions. The results are the same if I
> manually plot the markers with gsn_add_text.
>
> Thanks for your help.
>
> Cheers,
> Carl
>
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Jun 16 2008 - 17:15:44 MDT

This archive was generated by hypermail 2.2.0 : Tue Jun 17 2008 - 10:30:09 MDT