Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: window size
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 8 Topic 5384 of 6266
Post > Topic >>

Re: window size

by Spon <christoph.blau@[EMAIL PROTECTED] > Feb 1, 2008 at 09:53 AM

On Feb 1, 5:51 pm, David Fanning <n...@[EMAIL PROTECTED]
> wrote:
> rpert...@[EMAIL PROTECTED]
 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 re****ted 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/
> Se****e 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
 




 8 Posts in Topic:
window size
"rpertaub@[EMAIL PRO  2008-02-01 07:42:02 
Re: window size
David Fanning <news@[E  2008-02-01 08:54:47 
Re: window size
"rpertaub@[EMAIL PRO  2008-02-01 09:10:36 
Re: window size
David Fanning <news@[E  2008-02-01 10:51:02 
Re: window size
Spon <christoph.blau@[  2008-02-01 09:53:49 
Re: window size
David Fanning <news@[E  2008-02-01 11:24:48 
Re: window size
Vince Hradil <hradilv@  2008-02-01 10:07:35 
Re: window size
"rpertaub@[EMAIL PRO  2008-02-01 10:42:39 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Oct 14 11:10:51 CDT 2008.