font/widget question [message #7239] |
Sun, 13 October 1996 00:00  |
Phil Williams
Messages: 78 Registered: April 1996
|
Member |
|
|
Is it possible to display multiple fonts in widgets like buttons, fields
etc?
I would like to be able to have strings like _delta_x where delta is the
greek character.
Thanks in advance,
Phil
--
/*********************************************************** ********/
Phil Williams, Ph.D.
Research Instructor
Children's Hospital Medical Center "One man gathers what
Imaging Research Center another man spills..."
3333 Burnet Ave. -The Grateful Dead
Cincinnati, OH 45229
email: williams@irc.chmcc.org
URL: http://scuttle.chmcc.org/~williams/
/*********************************************************** ********/
|
|
|
Re: font [message #7814 is a reply to message #7239] |
Sat, 11 January 1997 00:00  |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
Debra Harrington <debray@aerosol.atmos.colostate.edu> writes:
> I am putting 4 plots on one page and I want to use font 6 for all
> labels, etc... How do I get the xaxis tick mark labels to use font 6?
> They are drawn before the xaxis label (which is specified to be written
> with font 6). I don't want a title on my plot.
You can do something like this:
!P.MULTI=[0,2,2]
PLOT, data1, TITLE='!6'
PLOT, data2
PLOT, data3
PLOT, data4
This won't affect the space of the plots at all and you won't have
any plot titles.
You will notice that *all* your plots will now be drawn with
font !6 (the duplex Roman font). This is because once a software
or vector font is selected, it stays the current font until it is
unselected.
For example, you might want to get back to the default simplex
Roman font (font !3) after these plots. You will have to use the
!3 font selector in a string in order to do so. If you didn't really
want to *write* a string on your display, you might just output
a blank character, like this:
XYOUTS, 0, 0, '!3 ', /Normal
David
-----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
2642 Bradbury Court, Fort Collins, CO 80521
Phone: 970-221-0438 Fax: 970-221-4762
E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com
-----------------------------------------------------------
|
|
|