Plot arrow in IDL [message #93088] |
Tue, 26 April 2016 02:20  |
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  |
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
|
|
|