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

Home » Public Forums » archive » /XSTY not allowed in PLOT() call in V8.3
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
/XSTY not allowed in PLOT() call in V8.3 [message #92222] Sun, 01 November 2015 19:05 Go to next message
wlandsman is currently offline  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 #92224 is a reply to message #92222] Mon, 02 November 2015 05:26 Go to previous messageGo to next message
lecacheux.alain is currently offline  lecacheux.alain
Messages: 325
Registered: January 2008
Senior Member
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.
Re: /XSTY not allowed in PLOT() call in V8.3 [message #92268 is a reply to message #92224] Fri, 06 November 2015 10:54 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, 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 Go to previous message
wlandsman is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Positioning of Legend
Next Topic: Custom X Aix with Barplot

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

Current Time: Wed Oct 08 09:22:45 PDT 2025

Total time taken to generate the page: 0.00435 seconds