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

Home » Public Forums » archive » Axis units outside the page boundary when using PS_star
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: Axis units outside the page boundary when using PS_star [message #89168 is a reply to message #89167] Wed, 30 July 2014 08:04 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Italo writes:

> I am trying to plot few histograms into an eps, into the same reference axes with the code given below, but the x-axis label goes out of the page.
> Is there any way that I can fix it without changing font size or YSIZE?
> Thanks in advance.
> Regards
>
> PS_Start, /encapsulated, FILENAME = 'NGC1386_vel_distribution.eps', FONT = -1
> fits_read, 'file1.fits', vn
> cgHistoplot, vn, BIN=10, /FREQUENCY, COLOR = 'black', /OUTLINE, $
> XRANGE = [xrl,xrh], YRANGE = [yrl,yrh], XTITLE = 'km ' + TexToIDL('s^{-1}')
>
>
> fits_read, 'file2.fits', vbb
> cgHistoplot, vbb[w2], BIN=10, /FREQUENCY, COLOR = 'blue', /OPLOT, $
> /OUTLINE, OL_STYLE = 3, LINE_THICK = 6
>
>
> fits_read, 'file2.fits', vbr
> cgHistoplot, vbr[w3], BIN=10, /FREQUENCY, COLOR = 'red', linestyle = 2, /oplot, /OUTLINE, OL_STYLE = 2
> PS_END

Use the POSITION keyword on cgHistoplot to put the histogram plot where
you want it in the "window".

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: [ANN] MIDLE - Almost an Alternative to EXECUTE
Next Topic: NETCDF Read

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

Current Time: Fri Oct 10 10:21:33 PDT 2025

Total time taken to generate the page: 0.79593 seconds