On Feb 1, 11:53 am, Spon <christoph.b...@[EMAIL PROTECTED]
> wrote:
> 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
Good catch, Chris.


|