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

Home » Public Forums » archive » Shining plots
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: Shining plots [message #64316 is a reply to message #64225] Mon, 15 December 2008 00:49 Go to previous message
Wout De Nolf is currently offline  Wout De Nolf
Messages: 194
Registered: October 2008
Senior Member
On Fri, 12 Dec 2008 09:35:13 -0800 (PST), gsever
<gokhansever@gmail.com> wrote:

> For the second one, I have never been able to create such a high-
> contrast output from my plots. The colors in my plots are always
> faint. How can I output or export such a shinny looking plots? is
> there any trick for this?
>
> All the comments and opinions are very welcome.

Do you use TVRD + WRITE_BMP/WRITE_TIFF/...? I never managed to get
good line-plots out of them. I usually use the postscript device (see
code below) and then use Adobe Illustrator (or something else) to
export this to other formats if needed. Also make sure you set line
thickess to ~3 or change it afterwards (using Illustrator and co.)

If you're using object graphics instead of direct graphic, check
IDLgrClipboard. If you're using iTools, exporting to EPS can be done
with some mouse clicks.

I'm really no expert on this, but it works for me.

pro MakeEPS,file,procname,args,_REF_EXTRA = _extra
; Prepare device
old_dev = !d.name
a=PSWINDOW(_EXTRA = _extra) ; David's excellent ps device setup
set_plot, 'PS'
device, file=file,/COLOR,/ENCAPSULATED, /isolatin1,$
,BITS_PER_PIXEL=8,_EXTRA=a

; Plot
CALL_PROCEDURE, procname, args,_EXTRA = _extra

; Reset device
device,/close
set_plot, old_dev
end;pro MakeEPS
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: hist_2d question
Next Topic: itools crash

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

Current Time: Sun Oct 12 08:32:57 PDT 2025

Total time taken to generate the page: 1.44430 seconds