[pstricks] problem in pstricks texlive 2020

Germain Boyer germain.boyer at ac-toulouse.fr
Mon Oct 12 19:22:55 CEST 2020


Hello

Sorry for my bad english.

Look at this file :

\documentclass[11pt]{article}

\usepackage[T1]{fontenc}

\usepackage[utf8]{inputenc}

\usepackage{geometry}

\geometry{a4paper, portrait, nohead, nofoot, left=3.5cm, right=3.5cm,  
top=2cm, bottom=2cm}

\usepackage[sfdefault]{notomath}

\usepackage{pstricks-add}

\usepackage[french]{babel}

\begin{document}

\def\xmin{-3}
\def\xmax{11}
\def\ymin{-50}
\def\ymax{110}

\psset{xunit=0.5cm, yunit=0.05cm, arrowsize=4pt 1.5, arrowinset=0.25}

\begin{pspicture}(\xmin,\ymin)(\xmax,\ymax)

\psgrid[%
xunit=1\psxunit, yunit=10\psyunit,%
gridlabels=0pt, subgriddiv=1,%
gridcolor=gray, gridwidth=0.25pt,%
subgridcolor=gray, subgridwidth=0.25pt,%
](0,0)(\xmin,-5)(\xmax,11)

\psaxes[showorigin=false, linewidth=1pt,  
Dy=10,labelFontSize=\scriptscriptstyle]{->}(0,0)(\xmin,\ymin)(\xmax,\ymax)


\uput[dl](0,0){$\text{O}$}

\psxTick[linestyle=none, labelsep=0.25\pslabelsep](10.75){x}
\psyTick[linestyle=none, labelsep=0.25\pslabelsep](105){y}

% Solution 01 : works good
\psplot[plotpoints=200, algebraic=true]{\xmin}{10.4}{x*x}

% Solution 02 : don't work
%\psplot[plotpoints=200, algebraic=true]{\xmin}{10.4}{x^2}

% Solution 03 : don't work
%\psplot[plotpoints=200, algebraic=false]{\xmin}{10.4}{x 2 exp}

\end{pspicture}

\end{document}

In texlive 2020, i compile this file with latexmk -pdfps and solutions 02  
et 03 don't work. I solve the problem with the solution 01.

Is it the same for you ? Or there is a problem ?

Thanks for your answers.

Germain


More information about the PSTricks mailing list.