The problem with ycaption appeared sometime after the g beta.
Saving a pdf using a fresh install of 601gbeta works fine, but not
when using a fresh install of 601nbeta. It may be related to the
substitution
of x. and y. for x and y, since functions like pdf_rotxy in the g beta
refer to both y and y.. However, replacing the references to local
variables x and y in that function did not solve the problem.
Steve
Steven Phillips wrote:
With the latest (n) beta, I am not able to get ycaption to display
correctly
when the plot is written as an eps or pdf file,
even though it displays correctly in the plot window.
Example:
'ycaption caption' plot i.10
pd 'pdf "c:\test.pdf"'
The ycaption appears horizontally in large font.
ycaption displayed correctly in j504 and one of the early 601 betas.
I could not isolate the problem but scanning jzplot.ijs I found
NB. 601
pdf_rotxy=: 3 : 0
if. ROT do.
'x y'=. y
(Sh-y),x
else.
y
end.
)
versus
NB. 504
pdf_rotxy=: 3 : 0
if. ROT do.
'x y'=. y.
(Sh-y),x
else.
y.
end.
)
Also,
ang=. {. 90 2700 #~ ('angle900';'angle2700') e. fnt
looks suspicious.
Steve
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm