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

Home » Public Forums » archive » Re: IDL8 plot
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: IDL8 plot [message #84532] Mon, 20 May 2013 08:34
Jeremy Bailin is currently offline  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.
[Message index]
 
Read Message
Previous Topic: Re: Rescaling byte (0-200) ndvi to -1 to 1 values
Next Topic: Re: strictarrsubs in IDL 8.1

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

Current Time: Wed Oct 08 15:35:11 PDT 2025

Total time taken to generate the page: 0.00360 seconds