Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #963
| From | Sally <adisn123@hotmail.com> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Y right axes labels being cut off in outputs |
| Date | 2012-02-22 11:49 -0800 |
| Organization | http://groups.google.com |
| Message-ID | <756af7bd-dd61-4751-a3d6-7b8ea74703ec@r20g2000yqn.googlegroups.com> (permalink) |
Hi,
Out of frustration, I came to this site looking for help.
I'm trying to multiplot (one column and two rows) of two figures.
Each figure has two y axis (left and right) with different y axis
range.
The left y axis ranges from [1.e-4: 1.0] and the right one ranges from
[1.e-10: 1.e-2].
I expressed the axis labels such that the values are expressed in
terms of power of 10.
Things seem working fine, until I output it into postscript file.
My right y axis labels are being cutoff in the plot, and I tried using
"xsize and ysize" to rescale the plot, but the problem just doesn't go
away.
Following is a part of my script.
I'd appreciate your help!!!
;-------
;setup for postscript or eps output
;-------
!p.font=0 ;use postscript fonts
set_plot, 'ps'
device, filename='plot'+ext, encapsulated=eps, $
/helvetica,/isolatin1, landscape=0, color=1
device, xsize=9.89, ysize=18.6267
!P.MULTI = [0,1,2]
data = ddread(data_files[0],
columns=[1,78,114,355,413,415,641]);temp,si28, s32, fe52, ni56, ni58,
he4
plot, data[0,*], data[1,*], xtitle='Temp'+ '( 10!U 9!N
K )',ytitle='Mass Fraction', charsize=cs, xrange=[5.0,1.0],/ylog,
yrange=[1.e-4 ,1.0],xticks=4, xminor=2,YTICKFORMAT='exponent',
xstyle=3, ystyle=19
plot, data[0,*], data[1,*], xtitle='Temp'+ '( 10!U 9!N
K )',ytitle='Mass Fraction',/nodata, charsize=cs, xrange=[4.0,1.0],/
ylog, yrange=[1.e-4,1.0],xticks=6, xminor=2 ,YTICKFORMAT='exponent'
IF KEYWORD_SET(ps) THEN BEGIN
device,/close
set_plot,'x'
!p.font=-1 ;go back to default (Vector Hershey fonts)
ENDIF
loadct,0 ;go back to default greyscale color table
Back to comp.graphics.apps.gnuplot | Previous | Next | Find similar
Y right axes labels being cut off in outputs Sally <adisn123@hotmail.com> - 2012-02-22 11:49 -0800
csiph-web