Re: How to change the font size in a legend (iPlot) [message #64004 is a reply to message #63318] |
Tue, 25 November 2008 00:25  |
R.Bauer
Messages: 1424 Registered: November 1998
|
Senior Member |
|
|
Tatcher schrieb:
> Hej!
>
> This object oriented graphics driving me mad. Why is it so hard to get
> good looking graphics in IDL with a little bit of simple functionality
> like zoom, ...? Why do I need ten lines of code to place a simple text
> on a plot? ... I am used to Matlab that has a very simple syntax to
> make plots, legends, annotations, ... but has a powerfull interface
> like iPlot to zoom, change or annotate the plots.
>
> But enough complaining I have to work and to live with IDL. I hope you
> can help me. My question:
>
> I use iPlot to plot my data and ixyouts (D. Fanning) to annotate the
> Plot. The axis fonts (xtickfont=10.0, ytickfont=10.0) and the fonts in
> ixyouts are set to 10 pt. How do I get "access" to the Legend to
> change the font also there? How can I apply the following object to my
> legend?
>
> helvetica10pt = OBJ_NEW('IDLgrFont', 'Helvetica', SIZE = 10)
>
> It would be great if you could give me a hint and to ease my pain ;)
>
> Kind regards,
>
> Christian
>
> iplot,radius,Te_probe_1, $
> title='Radial profiles of the electron temperature Te in
> '+tokamak_experiment+' ('+scan_probe+')',$
> xtitle='Radius / mm', ytitle='Te / eV',name='Probe 1: shot to
> shot',$
> sym_index=5,thick=2,color=[255,0,0],insert_legend=[0.0,-0.63 ],
> dimensions=[800,600],$
>
> user_interface=show_output,xtickfont_size=10.0,ytickfont_siz e=10.0,/
> no_saveprompt
> ixyouts,id,scan+' '+scan_probe,[0.48, 0.6, 0.0]
> ixyouts,id,'Electron temperature Te',[-0.48, 0.6, 0.0]
> export_tif,scan_probe+' '+scan+' '+'Te',dump_data
Hi
I do answer because none else did in the past 3 weeks.
The reason is mostly none of us likes iplot.
My personal reasons:
On every new release of idl I give it a new try and "wait what happens".
Usually it takes more than one minute to load for plotting of 10 points.
While most of my programs were written for batch processing of data this
is too much time.
We have written our own plot environment for the direct graphics mode.
And this mode is incompatible with object graphics.
The iplot is too interactive. I love programs which run on several
systems without the need of my permanently personal input.
I know this doesn't help now, but this message get's because of the
reply over again in focus of other readers.
For questions or bug reports of iplot please call ittvis.
cheers
Reimar
|
|
|