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

Home » Public Forums » archive » Re: Data points off plot when limit xrange
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Data points off plot when limit xrange [message #84308] Wed, 15 May 2013 07:19
morganlsilverman is currently offline  morganlsilverman
Messages: 46
Registered: February 2013
Member
On Wednesday, May 15, 2013 10:15:56 AM UTC-4, David Fanning wrote:
> Morgan Silverman writes:
>
>
>
>> I am plotting a 2D dataset using cgplot and cgplots. When I limit the xrange to [-150,150] I end up with data points plotted outside the axis bounds of my plot. I realize that I'm cutting off some of the data but my interest is in the data surrounding 0, not the outliers. How do I limit the xrange so that those outlier datapoint outside of the range not to plot outside of my axis?
>
>
>
> 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 thue. ("Perhaps thou speakest truth.")

Fantastic. Thank you.

Sincerely,
Morgan
Re: Data points off plot when limit xrange [message #84310 is a reply to message #84308] Wed, 15 May 2013 07:15 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Morgan Silverman writes:

> I am plotting a 2D dataset using cgplot and cgplots. When I limit the xrange to [-150,150] I end up with data points plotted outside the axis bounds of my plot. I realize that I'm cutting off some of the data but my interest is in the data surrounding 0, not the outliers. How do I limit the xrange so that those outlier datapoint outside of the range not to plot outside of my axis?

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 thue. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: how to use mpfit fitting routine
Next Topic: Data points off plot when limit xrange

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

Current Time: Wed Oct 08 15:21:31 PDT 2025

Total time taken to generate the page: 0.00528 seconds