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

Home » Public Forums » archive » traces plot outside of x-axis boundaries
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
traces plot outside of x-axis boundaries [message #88387] Mon, 21 April 2014 01:25 Go to next message
justinclouds is currently offline  justinclouds
Messages: 25
Registered: December 2012
Junior Member
I have this simple code:

FINquickplot6a = PLOT(SStop, color='b',position=[0.1,0.1,0.9,0.5], ytitle='score (%)', thick=3, font_size=10, xrange=xrange)
FINquickplot6b = PLOT(temp_score_top, color='r', thick=2, font_size=10, xrange=xrange, /overplot)
FINquickplot6c = PLOT(lwc_score_top, color='m', thick=2, font_size=10, xrange=xrange, /overplot)
FINquickplot6d = PLOT(rh_score_top, color='orange', thick=2, font_size=10, xrange=xrange, /overplot)
FINquickplot6e = PLOT(ww_score_top, color='g', thick=2, font_size=10, xrange=xrange, /overplot)

The plots for the last 2 traces plot outside the x-axis boundaries while the first 3 plot within the boundaries. I have no clue why this is happening and the plot just doesn't look good with 2 traces plotting outside the x-axis and across the left/right page margins. The only thing I can think of is that recently I switched from Windows XP to Mac OS. Please help!
Re: traces plot outside of x-axis boundaries [message #88389 is a reply to message #88387] Mon, 21 April 2014 07:31 Go to previous messageGo to next message
chris_torrence@NOSPAM is currently offline  chris_torrence@NOSPAM
Messages: 528
Registered: March 2007
Senior Member
Hmmm, that sounds strange. I plot on Mac all the time with no problems. Which version of IDL? Can you come up with a reproduce case that includes the data? Or post a screenshot somewhere?
Thanks!
-Chris
Re: traces plot outside of x-axis boundaries [message #88390 is a reply to message #88389] Mon, 21 April 2014 11:56 Go to previous messageGo to next message
justinclouds is currently offline  justinclouds
Messages: 25
Registered: December 2012
Junior Member
On Monday, April 21, 2014 8:31:56 AM UTC-6, Chris Torrence wrote:
> Hmmm, that sounds strange. I plot on Mac all the time with no problems. Which version of IDL? Can you come up with a reproduce case that includes the data? Or post a screenshot somewhere?
>
> Thanks!
>
> -Chris

Here is a link.

https://www.dropbox.com/s/izon72rmi0mrzme/Archive.zip

It contains the code and the data file with the plot that is produced. The data file is huge but this is related to the problem I think as the traces are within boundaries if the file is smaller. Also the traces are within boundaries if all the data is plotted but if a small segment is plotted (defining s and f) the traces go out of bounds.

Thanks for any help!
Re: traces plot outside of x-axis boundaries [message #88392 is a reply to message #88390] Mon, 21 April 2014 14:43 Go to previous messageGo to next message
chris_torrence@NOSPAM is currently offline  chris_torrence@NOSPAM
Messages: 528
Registered: March 2007
Senior Member
Well, this must have been a bug. It works fine for me using IDL 8.3.1. I would bet it also works fine in IDL 8.3 and possibly 8.2.3 as well.

Cheers,
Chris
Re: traces plot outside of x-axis boundaries [message #88393 is a reply to message #88392] Mon, 21 April 2014 14:56 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Chris Torrence writes:

> Well, this must have been a bug. It works fine for me using IDL 8.3.1. I would bet it also works fine in IDL 8.3 and possibly 8.2.3 as well.

Perhaps this is what he is talking about:

http://www.idlcoyote.com/ng_tips/overplots.php

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.")
Re: traces plot outside of x-axis boundaries [message #88397 is a reply to message #88393] Mon, 21 April 2014 15:28 Go to previous messageGo to next message
chris_torrence@NOSPAM is currently offline  chris_torrence@NOSPAM
Messages: 528
Registered: March 2007
Senior Member
On Monday, April 21, 2014 3:56:04 PM UTC-6, David Fanning wrote:
> Chris Torrence writes:
>
>
>
>> Well, this must have been a bug. It works fine for me using IDL 8.3.1. I would bet it also works fine in IDL 8.3 and possibly 8.2.3 as well.
>
>
>
> Perhaps this is what he is talking about:
>
>
>
> http://www.idlcoyote.com/ng_tips/overplots.php
>
>
>
> 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.")

Yep, that sure looks like it. Thanks David!
-C
Re: traces plot outside of x-axis boundaries [message #88399 is a reply to message #88397] Mon, 21 April 2014 17:49 Go to previous messageGo to next message
justinclouds is currently offline  justinclouds
Messages: 25
Registered: December 2012
Junior Member
On Monday, April 21, 2014 4:28:13 PM UTC-6, Chris Torrence wrote:
> On Monday, April 21, 2014 3:56:04 PM UTC-6, David Fanning wrote:
>
>> Chris Torrence writes:
>
>>
>
>>
>
>>
>
>>> Well, this must have been a bug. It works fine for me using IDL 8.3.1. I would bet it also works fine in IDL 8.3 and possibly 8.2.3 as well.
>
>>
>
>>
>
>>
>
>> Perhaps this is what he is talking about:
>
>>
>
>>
>
>>
>
>> http://www.idlcoyote.com/ng_tips/overplots.php
>
>>
>
>>
>
>>
>
>> 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.")
>
>
>
> Yep, that sure looks like it. Thanks David!
>
> -C

Thank you guys so much! I was stressing over it. Now it is fixed. Love this group!

- Duncan
Re: traces plot outside of x-axis boundaries [message #88400 is a reply to message #88392] Tue, 22 April 2014 00:51 Go to previous messageGo to next message
lecacheux.alain is currently offline  lecacheux.alain
Messages: 325
Registered: January 2008
Senior Member
On Monday, April 21, 2014 11:43:10 PM UTC+2, Chris Torrence wrote:
> Well, this must have been a bug. It works fine for me using IDL 8.3.1. I would bet it also works fine in IDL 8.3 and possibly 8.2.3 as well.
>
>
>
> Cheers,
>
> Chris

What is IDL 8.3.1 ? So far, I was only aware of 8.3.0.
Thank you, Chris, for any info.
alain.
Re: traces plot outside of x-axis boundaries [message #88402 is a reply to message #88400] Tue, 22 April 2014 06:01 Go to previous message
chris_torrence@NOSPAM is currently offline  chris_torrence@NOSPAM
Messages: 528
Registered: March 2007
Senior Member
On Tuesday, April 22, 2014 1:51:47 AM UTC-6, alx wrote:
> On Monday, April 21, 2014 11:43:10 PM UTC+2, Chris Torrence wrote:
>
>> Well, this must have been a bug. It works fine for me using IDL 8.3.1. I would bet it also works fine in IDL 8.3 and possibly 8.2.3 as well.
>
>>
>
>>
>
>>
>
>> Cheers,
>
>>
>
>> Chris
>
>
>
> What is IDL 8.3.1 ? So far, I was only aware of 8.3.0.
>
> Thank you, Chris, for any info.
>
> alain.

Ah, sorry. It's not out yet. I just meant that it worked for me on my development machine. But it's going to be _amazing_. :-)

Hopefully around summertime...

-Chris
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: CATCH inside a FOR loop and out?
Next Topic: MESSAGE (used in VM) invokes DIALOG_MESSAGE: Can this be suppressed?

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

Current Time: Wed Oct 08 11:42:32 PDT 2025

Total time taken to generate the page: 0.00571 seconds