Re: Data points off plot when limit xrange [message #84308] |
Wed, 15 May 2013 07:19 |
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  |
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.")
|
|
|