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

Home » Public Forums » archive » Controlling axis labels in IDL 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: Controlling axis labels in IDL plots? [message #88489 is a reply to message #88487] Thu, 01 May 2014 16:59 Go to previous messageGo to previous message
Matthew Argall is currently offline  Matthew Argall
Messages: 286
Registered: October 2011
Senior Member
I tried changing the line spacing. It has an effect on the x-axis, but not on the y-axis. XYOuts (or cgText) is still probably your best bet, if you are sticking with direct graphics.

Compare this

plot, randomu(0,100), XTITLE='X Title', YTITLE='Y Title'

To this

window, /free
charsize = !d.x_ch_size
spacing = !d.y_ch_size
device, SET_CHARACTER_SIZE=[!d.x_ch_size, 0.8*!d.y_ch_size]
plot, randomu(0,100), XTITLE='X Title', YTITLE='Y Title'
device, SET_CHARACTER_SIZE=[charsize, spacing]
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Font size appearance in function graphics PNG and EPS output
Next Topic: Full page plot in postcript

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

Current Time: Tue Oct 21 20:19:30 PDT 2025

Total time taken to generate the page: 2.56030 seconds