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: Postscript ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 5 Topic 5404 of 6248
Post > Topic >>

Re: Postscript device weirdness

by caitouer <caitouer@[EMAIL PROTECTED] > Feb 8, 2008 at 12:52 PM

On Feb 7, 3:57=A0am, nathan12343 <nathan12...@[EMAIL PROTECTED]
> wrote:
> Hi all-
>
> I was wondering if someone could explain to me why the postscript
> device behaves in a certain particularly strange way. =A0I've been
> trying to size and position a plot for print-out using the following
> code, which will leave the offsets incorrectly set as their default
> values:
>
>
device,filename=3D'plot.ps',/inches,xoffset=3D3,yoffset=3D2,xsize=3D5,ysiz=
e=3D5
>
> When I print out the postscript file, the plot sits on the bottom left
> corner of the page, as if I hadn't set the xoffset and yoffset
> keywords at all. =A0However, the following code works fine:
>
>
device,filename=3D'plot.ps',/inches,xsize=3D5,ysize=3D5,xoffset=3D2,yoffse=
t=3D3
>
> What I'm wondering is why on earth the device procedure cares about
> the order of the parameters. =A0I'm not aware of any other IDL
> procedures that behave this way. =A0Is there some reason why it does, or
> is it some kind of bug in IDL 6.3?
>
> Thanks for any insight anyone can provide.
>
> -Nathan Goldbaum

If I read it correctly, there two lines have different parameters too:

xoffset=3D3, yoffset=3D2
xoffset=3D2, yoffset=3D3 .

How you set up offsets depends on the layout of your figures. I mean
****trait or landscape. You could find more on manual. I do agree with
you it takes some time to figure these things out and get a nice
figure.

Xia
 




 5 Posts in Topic:
Postscript device weirdness
nathan12343 <nathan123  2008-02-07 00:57:37 
Re: Postscript device weirdness
David Fanning <news@[E  2008-02-07 07:14:22 
Re: Postscript device weirdness
mchinand@[EMAIL PROTECTED  2008-02-07 16:08:05 
Re: Postscript device weirdness
caitouer <caitouer@[EM  2008-02-08 12:52:55 
Re: Postscript device weirdness
David Fanning <news@[E  2008-02-08 13:59:52 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Fri Oct 10 14:25:35 CDT 2008.