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

Home » Public Forums » archive » window size
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: window size [message #58423 is a reply to message #40795] Fri, 01 February 2008 09:53 Go to previous messageGo to previous message
Spon is currently offline  Spon
Messages: 178
Registered: September 2007
Senior Member
On Feb 1, 5:51 pm, David Fanning <n...@dfanning.com> wrote:
> rpert...@gmail.com writes:
>> I tried this. However, i cannot compile the Plot line. Commenting it
>> out, I do get a smaller image size. however, my cursor x,y return
>> fraction pixel locations??
>
> I have a feeling you are not running the code I sent you. :-)
>
> If you comment out the PLOT line, it's anyone's guess what
> kind of values you are getting. The PLOT line *is* the
> essential element here.
>
> Well, fractional pixels are good, aren't they? I probably
> should have used ROUND, rather than FIX in my code, but
> they should have been reported in integers, just so I
> didn't scare you. The point is, I didn't tell you
> *what* size window to create. This works wherever
> you want to display the image.
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

Should this:
... XRange=[0:s[1]], YRange=[0:s[2]] ...
perhaps be:
... XRange=[0,s[1]], YRange=[0,s[2]] ..?

As it stands I can't run your code either.

Chris
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: EMACS or IDL Workbench
Next Topic: county and urban shapefiles

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

Current Time: Fri Oct 10 07:43:34 PDT 2025

Total time taken to generate the page: 0.64193 seconds