Re: IDL8 plot [message #84532] |
Mon, 20 May 2013 08:34 |
Jeremy Bailin
Messages: 618 Registered: April 2008
|
Senior Member |
|
|
On 5/20/13 1:32 AM, laoli wrote:
> Dear all,
>
> Just started to use idl8.0.1 and got problems Re plot.
>
> The code is very simple:
>
> Pro tst
> w = WINDOW(WINDOW_TITLE="My Window", DIMENSIONS=[500,100])
> t = TEXT(50, 220, "$\it Draw arrow here$", /DEVICE)
> arrow, 50, 100,200, 100
> End
>
> Two problems:
> 1) why the graphic window is not 500 x 100? It seems the window dimension has to be greater than 475 x 323? I am using windows machine with resolution of 1280 x 1024.
> 2) the arrow appeared on a new window, not the current one.
>
> Any suggestion will be greatly appreciated.
>
> Lao Li
>
2) You are mixing Function Graphics (the window and text functions) with
Direct Graphics (the arrow procedure). They work completely separately.
-Jeremy.
|
|
|