[pstricks] pst-plot version 1.68 makes my grid gets incomplete
Donut E. Knot
the.counterterrorist at yahoo.com
Tue Aug 12 10:01:22 CEST 2014
Dear folks,
After upgrading my TeX Live, I noticed that my grid which was correct (see the attached Correct-Result.png) becomes incomplete (see the attached Incorrect-Result.png).
The code (after simplification) is as follows,
\documentclass[pstricks,border=0pt,12pt,dvipsnames]{standalone}
\usepackage{pst-plot}
\usepackage[nomessages]{fp}
% THIS BOMBASTIC SETTING IS NOT TRIVIAL !
\FPeval\XMin{0-2*pi}
\FPeval\XMax{2*pi}
\FPeval\YMin{0-pi}
\FPeval\YMax{5*pi/3}
\FPeval\XOL{0-1/3} % of DeltaX
\FPeval\XOR{1/3} % of DeltaX
\FPeval\YOB{0-1/3} % of DeltaY
\FPeval\YOT{1/3} % of DeltaY
\FPset\TrigLabelBase{3}
\FPeval\DeltaX{pi/TrigLabelBase}
\FPeval\DeltaY{pi/TrigLabelBase}
\FPeval\AxisL{XMin+DeltaX*XOL}
\FPeval\AxisR{XMax+DeltaX*XOR}
\FPeval\AxisB{YMin+DeltaY*YOB}
\FPeval\AxisT{YMax+DeltaY*YOT}
\newlength\Width\Width=12cm
\newlength\Height\Height=8cm
\newlength\llx\llx=-5pt
\newlength\urx\urx=15pt
\newlength\lly\lly=-5pt
\newlength\ury\ury=15pt
\psset
{
llx=\llx,
lly=\lly,
urx=\urx,
ury=\ury,
xtrigLabels=true,
ytrigLabels=true,
trigLabelBase=\TrigLabelBase,
labelFontSize=\scriptstyle,
xAxisLabel=$x$,
yAxisLabel=$y$,
algebraic,
plotpoints=500,
}
\def\f{Pi*sin(x)}
\begin{document}
\begin{psgraph}
[
dx=\DeltaX,
dy=\DeltaY,
linecolor=gray,
tickcolor=gray,
ticksize=-3pt 3pt,
axespos=top,
]{<->}(0,0)(\AxisL,\AxisB)(\AxisR,\AxisT){\dimexpr\Width-\urx+\llx}{!}
\psaxes
[
dx=\DeltaX,
dy=\DeltaY,
labels=none,
subticks=5,
tickwidth=.4pt,
subtickwidth=.2pt,
tickcolor=Red!30,
subtickcolor=ForestGreen!30,
xticksize=\YMin\space \YMax,
yticksize=\XMin\space \XMax,
subticksize=1,
](0,0)(\XMin,\YMin)(\XMax,\YMax)
\psplot[linecolor=NavyBlue]{\XMin}{\XMax}{\f}
\end{psgraph}
\end{document}
The code is also attached to this e-mail (see My-Code.tex).
The bugs are
- The grid becomes incomplete.
- The attached plot has arrows (that should not) whenever I use arrows for the psgraph.
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20140812/ee4ddc0b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Incorrect-Result.png
Type: image/png
Size: 33660 bytes
Desc: not available
URL: <http://tug.org/pipermail/pstricks/attachments/20140812/ee4ddc0b/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Correct-Result.png
Type: image/png
Size: 66434 bytes
Desc: not available
URL: <http://tug.org/pipermail/pstricks/attachments/20140812/ee4ddc0b/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: My-Code.tex
Type: application/octet-stream
Size: 1765 bytes
Desc: not available
URL: <http://tug.org/pipermail/pstricks/attachments/20140812/ee4ddc0b/attachment-0001.obj>
More information about the PSTricks
mailing list