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 
Return to the default flat view Create a new topic Submit Reply
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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
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 16:13:50 PDT 2025

Total time taken to generate the page: 0.00434 seconds