Hi, David. set_palette(2) seems to work immediately, thanks. I'll look at the other suggestions for further improvements, too. Thanks, Rob Quoting "David P. Huenemoerder" <dph_at_email.domain.hidden > > Hi Rob, > > Try > > set_palette( 2 ) ; > > before plotting, see if that helps. > > You might also need to adjust the min,max. > plot_image( image, 1, x, y, low, high ); > > or > plot_image( log(image+1), 1, x, y, low, high ); > > > I usually also invert the display (before opening the device): > > putenv("PGPLOT_BACKGROUND=white"); > putenv("PGPLOT_FOREGROUND=black"); > > so pgplot draws black lines on white background. > > > rgibson> I have a 2D histogram which I plot with plot_image, and > rgibson> it plots nicely to an /xwin display. But when I plot to > rgibson> postscript (/ps or/cps), it just gives me a black square. > > rgibson> I figure it may be a contrast control issue, but > plot_image_ctrl is interactive > rgibson> anyway. > > rgibson> Are there recommended settings for plot_image to > postscript files? > > > Just some guesses, > > > -- Dave > > David Huenemoerder 617-253-4283 (o); -253-8084 (f); > http://space.mit.edu/home/dph > MIT Kavli Institute for Astrophysics and Space Research > 70 Vassar St., NE80-6065, > Cambridge, MA 02139 > [Admin. Asst.: Elaine Tirrell, 617-253-7480, egt_at_email.domain.hidden> > ---- > You received this message because you are > subscribed to the isis-users list. > To unsubscribe, send a message to > isis-users-request_at_email.domain.hidden> with the first line of the message as: > unsubscribe > > ---- You received this message because you are subscribed to the isis-users list. To unsubscribe, send a message to isis-users-request_at_email.domain.hiddenwith the first line of the message as: unsubscribeReceived on Wed Feb 18 2009 - 15:55:49 EST
This archive was generated by hypermail 2.2.0 : Wed Feb 18 2009 - 16:33:02 EST