comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: More Q's on TV and Postscript
items: Re: More Q's on TV and Postscript

More Q's on TV and Postscript
type: item
description: Now that I can actually see the postscript output I've three more questions. 1. How do I get the picture to be black on white? If I try this trick a(where(a eq 0B)) = 225B then any plots that are with the picture disappear since plots are done in black. This also makes the picture look very different! I've also tried reloading the color arrays after set_plot,'ps' with and without giving /COLOR in the call to DEVICE. What's the catch? 2. I would also like to use PLOTS to draw circles and things on the picture. How can I position them correctly given that the position and size of the picture is specified in centimeters (or inches) not NORMAL, DATA, or even DEVICE coordinates? 3. Wouldn't it be nice if TV understood all of the !p variable especially !p.multi. Has anyone developed or know of a procedure, say PTV, that works like PLOT (or PLOTS) but draws an image instead of a graph? If you've only one picture then things go smoothly, but if you what a graph with a picture next to it or some other combination things get complicated. I think that I can do what I want in the window, but the conversion to postsrcipt does not reproduce what's in the window. I've tried using TVRD but then you have the black-on-white problem again. Any hints &/or suggestions are welcome. Thanks, Roger
creator: rouse
date: 1994-08-31T04:11:34-00:00

Re: More Q's on TV and Postscript
type: item
description: In article <340vtmINN5tv@lanews.la.asu.edu> rouse@sevens.la.asu.edu (Roger Rouse) writes: > > > Now that I can actually see the postscript output I've three more questions. > > 1. How do I get the picture to be black on white? If I try this trick > > then any plots that are with the picture disappear since plots are > done in black. This also makes the picture look very different! I've > also tried reloading the color arrays after set_plot,'ps' with and > without giving /COLOR in the call to DEVICE. What's the catch? > If there are plots within the picture, I am not sure. Not really sure what you are asking though, but it sounds like you have plots overlayed on pictures, and want to output them onto a B&W printer. I would suggest setting the plot color to WHITE, so then plots on top of pictures just are white lines on the picture. (however, if you plot is bigger than your image you will have a mess...) > 2. I would also like to use PLOTS to draw circles and things on the picture. > How can I position them correctly given that the position and size of the > picture is specified in centimeters (or inches) not NORMAL, DATA, or even > DEVICE coordinates? Normal coordinates should work on PS output devices. Just remember that they are normal to the page size, which is not the same as the window size. I generally try to do EVERYTHING in normal coordinates, that way things are at least relative to each other... > > 3. Wouldn't it be nice if TV understood all of the !p variable especially > !p.multi. Has anyone developed or know of a procedure, say PTV, that works > like PLOT (or PLOTS) but draws an image instead of a graph? If you've only > one picture then things go smoothly, but if you what a graph with a picture > next to it or some other combination things get complicated. If you are just using images, then its not a big deal. Just use the TV position that is built into TV (ie: the 1 number positioning system) Once you start mixing images and plots, I would suggest bui…
creator: stl
date: 1994-09-01T06:30:16-00:00