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

Home » Public Forums » archive » Plot arrow in IDL
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
Plot arrow in IDL [message #93088] Tue, 26 April 2016 02:20 Go to next message
d.poreh is currently offline  d.poreh
Messages: 406
Registered: October 2007
Senior Member
Folks,
Hi,
I am trying to plot an arrow in my graph:
...
line2 = POLYLINE([[-39,1.3],[-35,1.1]],'-r2', /DATA, ARROW_STYLE=1, $
TARGET=p1,THICK=4)
...
BUT the result is not very good.
I am using IDL 8.0
Can someone help pls,
Cheers,
Dave
Re: Plot arrow in IDL [message #93089 is a reply to message #93088] Tue, 26 April 2016 02:53 Go to previous message
Helder Marchetto is currently offline  Helder Marchetto
Messages: 520
Registered: November 2011
Senior Member
On Tuesday, April 26, 2016 at 10:20:51 AM UTC+1, dave poreh wrote:
> Folks,
> Hi,
> I am trying to plot an arrow in my graph:
> ...
> line2 = POLYLINE([[-39,1.3],[-35,1.1]],'-r2', /DATA, ARROW_STYLE=1, $
> TARGET=p1,THICK=4)
> ...
> BUT the result is not very good.
> I am using IDL 8.0
> Can someone help pls,
> Cheers,
> Dave

The function arrow() was introduced in 8.0.1.
If your version is 8.0 (without the .1) then you won't have this and life is a bit more complicated.
My polyline() function has no "arrow_style" keyword. Or have I missed that?

IDL> line2 = POLYLINE([[-39,1.3],[-35,1.1]],'-r2', /DATA, ARROW_STYLE=1)
% POLYLINE: Unknown property: ARROW_STYLE
% Execution halted at: $MAIN$

Cheers,
Helder
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Equivalent of ytick_get() in function graphics?
Next Topic: Farewell to Paul van Delst

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

Current Time: Wed Oct 08 07:14:51 PDT 2025

Total time taken to generate the page: 0.00557 seconds