/XSTY not allowed in PLOT() call in V8.3 [message #92222] |
Sun, 01 November 2015 19:05  |
wlandsman
Messages: 743 Registered: June 2000
|
Senior Member |
|
|
I don't think this bug has been reported here, but it appears the /Xsty keyword to PLOT() wasn't allowed in V8.3
IDL> a = plot(indgen(12),indgen(12),/xsty)
% PLOT: Duplicate keyword XSTY in call to: DATAAXES::SETPROPERTY
% Execution halted at: $MAIN$
IDL> print,!version
{ x86_64 darwin unix Mac OS X 8.3 Nov 15 2013 64 64}
The code works fine in V8.4 and V8.5. But some of my users are still using V8.3 --Wayne
|
|
|
|
Re: /XSTY not allowed in PLOT() call in V8.3 [message #92268 is a reply to message #92224] |
Fri, 06 November 2015 10:54   |
chris_torrence@NOSPAM
Messages: 528 Registered: March 2007
|
Senior Member |
|
|
On Monday, November 2, 2015 at 6:26:18 AM UTC-7, alx wrote:
> Le lundi 2 novembre 2015 04:05:03 UTC+1, wlandsman a écrit :
>> I don't think this bug has been reported here, but it appears the /Xsty keyword to PLOT() wasn't allowed in V8.3
>>
>> IDL> a = plot(indgen(12),indgen(12),/xsty)
>> % PLOT: Duplicate keyword XSTY in call to: DATAAXES::SETPROPERTY
>> % Execution halted at: $MAIN$
>>
>> IDL> print,!version
>> { x86_64 darwin unix Mac OS X 8.3 Nov 15 2013 64 64}
>>
>> The code works fine in V8.4 and V8.5. But some of my users are still using V8.3 --Wayne
>
> This inconvenience indeed disappeared since V8.4, but is still there (8.5) when using the SCATTERPLOT function.
> My workaround is to explicitely change the property value:
> IDL> pl = scatterplot(/TEST)
> IDL> pl.XSTYLE = 1
>
> alx.
I just checked in a fix for this for scatterplot. Probably won't make it into IDL 8.5.1, but hopefully soon after.
-Chris
|
|
|
Re: /XSTY not allowed in PLOT() call in V8.3 [message #92270 is a reply to message #92268] |
Fri, 06 November 2015 11:53  |
wlandsman
Messages: 743 Registered: June 2000
|
Senior Member |
|
|
Meanwhile an even simpler way to avoid the bug is to spell out XSYTLE
IDL> pl = scatterplot(/TEST,/xstyle)
--Wayne
On Friday, November 6, 2015 at 1:54:40 PM UTC-5, Chris Torrence wrote:
> On Monday, November 2, 2015 at 6:26:18 AM UTC-7, alx wrote:
>> Le lundi 2 novembre 2015 04:05:03 UTC+1, wlandsman a écrit :
>>> I don't think this bug has been reported here, but it appears the /Xsty keyword to PLOT() wasn't allowed in V8.3
>>>
>>> IDL> a = plot(indgen(12),indgen(12),/xsty)
>>> % PLOT: Duplicate keyword XSTY in call to: DATAAXES::SETPROPERTY
>>> % Execution halted at: $MAIN$
>>>
>>> IDL> print,!version
>>> { x86_64 darwin unix Mac OS X 8.3 Nov 15 2013 64 64}
>>>
>>> The code works fine in V8.4 and V8.5. But some of my users are still using V8.3 --Wayne
>>
>> This inconvenience indeed disappeared since V8.4, but is still there (8.5) when using the SCATTERPLOT function.
>> My workaround is to explicitely change the property value:
>> IDL> pl = scatterplot(/TEST)
>> IDL> pl.XSTYLE = 1
>>
>> alx.
>
> I just checked in a fix for this for scatterplot. Probably won't make it into IDL 8.5.1, but hopefully soon after.
> -Chris
|
|
|