[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: noclip=0 with postscript fonts

Med Bennett (mbennett@indra.com) writes:
> I am making some plots with data points labelled with value and station
> name.  Some of them fall outside of the plotting window, and I would
> like to supress these.  They still plot, even with noclip=0 in the call
> to XYOUTS. After studying the online help page, I notice that it states
> that "this keyword controls the clipping of vectors and vector-drawn
> text." In other words, it doesn't work with software fonts (i.e.,
> font=0).  Is there any way to achieve clipping with software fonts,
> other than looping through the coordinates and checking them against the
> plot limits (Yuck!) ?

I don't think it really matters *what* kind of fonts
you use. I don't think there is any other way 
than to check the coordinates before you plot them. :-(


David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155