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

Home » Public Forums » archive » Nice Fonts in Direct 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
Nice Fonts in Direct Graphics [message #65114] Tue, 10 February 2009 08:51
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
I do a lot of work in the Direct Graphics and I would like to use nice
looking fonts..
I found this routine in the coyote library for display nice fonts in Z-
graphics buffer:

data = Dist(41)
Window, XSize=300, YSize=300, Title='Normal Picture'
Surface, data, XTitle='This is X Title', YTitle='This is Y Title', $
ZTitle='This is Z Title', Font=1, Charsize=2.5, $
Position=[0.25, 0.15, 0.90, 0.90, 0.15, 0.95]
thisDevice = !D.Name
Set_Plot, 'Z'
Device, Set_Resolution=[1200, 1200]
Surface, data, XTitle='This is X Title', YTitle='This is Y Title', $
ZTitle='This is Z Title', Font=1, Charsize=2.5*4, $
XThick=4, YThick=4, ZThick=4, Thick=4, $
Position=[0.25, 0.15, 0.90, 0.90, 0.15, 0.95]
snapshot = TVRD()
Set_Plot, thisDevice
Window, 1, XSize=300, YSize=300, Title='Z Buffer Picture'
TV, Rebin(snapshot, 300, 300)

I want something like that for my program... Maybe I could use the
same code to change my fonts in my plots but maybe there is another
way to do that.
Thanks,

Bernat
[Message index]
 
Read Message
Previous Topic: Re: How to know how much memory (in Mb) takes an object ? 1700 on memory grObjects is too much?
Next Topic: How to read a multi-band image with IDL

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

Current Time: Fri Oct 10 09:43:18 PDT 2025

Total time taken to generate the page: 6.96291 seconds