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

Home » Public Forums » archive » Re: tvimage, imcontour and ps dimensions
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: tvimage, imcontour and ps dimensions [message #43528 is a reply to message #43519] Fri, 15 April 2005 14:53 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
burkina writes:

> I have a problem with ps output.
> I have an astronomical image with some contours on it. I use tvimage
> and imcontour.
> So far so good.
> I want to produce several similar (but different!) images with exactly
> the same ps width and height size.
> The ps file is created in the script in this way:
>
> set_plot, 'ps'
> device, filename='test.ps', xsize=20, ysize=20, /color
>
> The problem is that in this way (of course no matter the x and ysize),
> I get the y labels of the imcontour outside of the ps file, the image
> is truncated at the axis.
> It happens the same if I work on the screen, but if I resize it
> manually and then retry an imcontour, after a few trial I get the right
> result.
> If then I use again the ps device, I also get all the image on the file
> but, since I resize the screen manually, the actual size of the image
> inside the ps is everytime different!
>
> What am I doing wrong?

Humm. I'm not sure even when you get it to work
you are doing anything right. :-)

Why don't you show us the code. It might offer
a few more clues. But I suspect maybe you haven't
read the documentation in the program headers.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: structure access using strings for tag-names
Next Topic: collecting points with "cursor" procedure for several classes

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

Current Time: Sat Oct 11 10:13:09 PDT 2025

Total time taken to generate the page: 8.08028 seconds