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 #58571 is a reply to message #58423] Fri, 01 February 2008 10:07 Go to previous messageGo to previous message
Vince Hradil is currently offline  Vince Hradil
Messages: 574
Registered: December 1999
Senior Member
On Feb 1, 11:53 am, Spon <christoph.b...@gmail.com> wrote:
> 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

Good catch, 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: Sun Nov 30 12:30:22 PST 2025

Total time taken to generate the page: 0.25217 seconds