comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: How can I limit maximum value plotted with cgPlotS?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: How can I limit maximum value plotted with cgPlotS? [message #79542 is a reply to message #79532] Mon, 05 March 2012 22:04 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Barry Lesht writes:

> I'm having a lot of fun with cgPlotS from David's Coyote graphics
> library. Its very helpful to be able to assign colors to symbols
> using data values, etc. However, I have had cases when, after setting
> up a plot framework using the "cgPlot, XRANGE=[minx, maxx],
> YRANGE=[miny, maxy], /NODATA" construct, some of the data values that
> are plotted by subsequent calls to cgPlotS are larger than maxy and
> still show up on the graph but above the axis limit. This is the kind
> of thing that the traditional MAX_VALUE parameter is supposed to
> address, but MAX_VALUE can't be passed to cgPlotS because its built
> around PLOTS. I suppose I could test the data array before plotting
> it and just not pass the offending values, but I was wondering if
> there is some better way to address this problem. Thanks.

I would set NOCLIP=0 on the cgPlotS command. :-)

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: oppsite of abs
Next Topic: How to erase a (function graphics) plot.

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:26:41 PDT 2025

Total time taken to generate the page: 0.00442 seconds