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
|