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

Home » Public Forums » archive » Re: image question (maybe stupid one)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: image question (maybe stupid one) [message #61093] Thu, 03 July 2008 03:43
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Nicola writes:

> Dear all, here I'm with a question maybe stupid but I did not found an
> answer neither on David Fanning website. I'm trying to create a
> postscript file from an image using imdisp routine from Liam.Gumley
> and the beautiful color table fsc_brewer from David. Actually I use
> this setup for opening the file
> set_plot,'ps'
> device,filename=fname,/portrait,/encapsulated,$
> ysize=12,xsize=14,/isolatin1,font_size=15,/color, bits_per_pixel = 8
> loadct, 24, file = $
> '/ricercatori/fb/nicolalib/colortables/fsc_brewer.tbl'
> I would like to have the axis of the image in black and then using the
> brewer color table (number 24 on the tbl file created by David). So I
> put as follow
> imdisp,image,/interp,/axis,col=fsc_color('black')
>
> the problem is that it introduces some black spots into the image
> which are not visible if I did not manage to change the axis color. I
> suppose that this is due to the fact that I modify the color tables
> introducing the black color but I did not find a way to overcome the
> problem. The same results I obtain if I add to the image the colorbar
> (using David latest routine). the only way I have is to let all the
> axis to be red (or better the lowest color of the colortable). Any
> suggestion on a way to overcome the problem?
> I hope I' ve been clear and I apologize if the answer is stupid or
> already treated but I did not find it

Get the latest version of TVIMAGE. I modified it a couple of
weeks ago to fix this very problem. :-)

http://www.dfanning.com/programs/tvimage.pro

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: image question (maybe stupid one)
Next Topic: Re: cursor,xi,yi,/normal

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

Current Time: Fri Oct 10 04:11:23 PDT 2025

Total time taken to generate the page: 0.88058 seconds