traces plot outside of x-axis boundaries [message #88387] |
Mon, 21 April 2014 01:25  |
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 #88399 is a reply to message #88397] |
Mon, 21 April 2014 17:49   |
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 #88402 is a reply to message #88400] |
Tue, 22 April 2014 06:01  |
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
|
|
|