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

Home » Public Forums » archive » IDL postscript graphics
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: IDL postscript graphics [message #45882 is a reply to message #45748] Mon, 10 October 2005 06:16 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
IDLmastertobe writes:

> Thanks for your reply mark, i changed the code to yours. It it a lot
> cleaner, but it is still a white plane without any color like before. i
> am not sure if it is because something wrong with sState.oView, but i have
> not found any obvious errors yet. Is there anything that is potentially
> blocking the image from porting out?

Given that we now have everything over into object graphics,
I think the problem isn't that the image is not being displayed,
but that it is being displayed too well. Most of the time, in
object graphics, one's first attempt at displaying an image
results in a black window. This is not an empty window, it is
a single image pixel, blown up very, very large. The problem
is that the user forgot to scale the image object into the
coordinate system of the view object. (If you haven't learned
this yet, the object graphics system is VERY low level. You
have to do *everything* yourself.)

When Mark said that the code "could work", he knew as well
as I did that the chances were very, very small, given what
we know about your specific problem. But, at the very least
you are going to have to match the DIMENSIONS and UNITS of
your view object in the clipboard object if you are going to see
output that looks anything like what you see in your
display window.

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
Read Message
Previous Topic: Stackplot without axis?
Next Topic: Fourier Transform when intervals are not uniform

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

Current Time: Fri Aug 28 03:22:55 PDT 2026

Total time taken to generate the page: 4.63886 seconds