<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- P { margin-top: 0px; margin-bottom: 0px; } p { margin: 0px; } p, li { white-space: pre-wrap; } p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>​Thanks for your suggestion Phillipe.<br>
</p>
<p><br>
</p>
<p>I did as you suggested, but am still not getting the graphic.<br>
</p>
<p><br>
</p>
<p>I have some more research to do...<br>
</p>
<p><br>
</p>
<p>Thanks again,<br>
</p>
<p><br>
</p>
<p>Randy Scott<br>
</p>
<p>Santiago Canyon College<br>
</p>
<p><br>
</p>
<p><br>
</p>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> PSTricks <pstricks-bounces+scott_randy=sccollege.edu@tug.org> on behalf of camus.philippe@free.fr <camus.philippe@free.fr><br>
<b>Sent:</b> Tuesday, August 3, 2021 08:24<br>
<b>To:</b> Graphics with PSTricks<br>
<b>Subject:</b> [EXTERNAL] Re: [pstricks] A little help, please.</font>
<div> </div>
</div>
<div>
<div>
<div style="border:solid #E13C18 1.0pt; padding:2.0pt 2.0pt 2.0pt 2.0pt; width:90%; text-align:center; margin-left:auto; margin-right:auto">
<p style="line-height:12.0pt; background:#FF5733; margin:0in; font-family:"Calibri",sans-serif">
<span style="font-weight:bold; font-size:10.0pt; color:black">**External Email** </span>
</p>
</div>
<div style="font-family:arial,helvetica,sans-serif; font-size:12pt; color:#000000">
<div>Hi,</div>
<div>I recently had to add -dALLOWPSTRANSPARENCY manually to my postscript commands (dvips, ps2pdf).</div>
<div>Your code compiles fine with this on TexStudio.<br>
</div>
<div><br>
</div>
<div>Philippe CAMUS<br>
</div>
<div><style type="text/css">
<!--
p, li
        {white-space:pre-wrap}
-->
</style></div>
<br>
<hr id="zwchr">
<div style="color:#000; font-weight:normal; font-style:normal; text-decoration:none; font-family:Helvetica,Arial,sans-serif; font-size:12pt">
<b>De: </b>"Randy Scott" <Scott_Randy@sccollege.edu><br>
<b>À: </b>pstricks@tug.org<br>
<b>Envoyé: </b>Mardi 3 Août 2021 15:21:57<br>
<b>Objet: </b>[pstricks] A little help, please.<br>
<br>
<style style="">
<!--
p
        {margin-top:0px;
        margin-bottom:0px}
-->
</style>
<p>Hi,<br>
</p>
<p><br>
</p>
<p>I wrote this code last summer to produce a graphic for a final exam. It worked great last summer.<br>
</p>
<p><br>
</p>
<p>This summer it doesn't create the graphic. :(<br>
</p>
<p><br>
</p>
<p>I haven't used psTricks much in the last year...has there been a change I'm not aware of?<br>
</p>
<p><br>
</p>
<p>The errors I get are:<br>
</p>
<p><br>
</p>
<blockquote style="margin:0 0 0 40px; border:none; padding:0px">
<p>​pspicture No. 1 undefined</p>
</blockquote>
<blockquote style="margin:0 0 0 40px; border:none; padding:0px">
<p>​File `LaTeX_PSTricks_Minimal_2021-08-03-pics.pdf' notfound</p>
</blockquote>
<p><br>
</p>
<p>Any suggestions/help would be appreciated...this summer's final exam is Thursday!<br>
</p>
<p><br>
</p>
<p>Randy Scott<br>
</p>
<p>Santiago Canyon College<br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<pre style="margin-top:0px; margin-bottom:0px"><span style="color:rgb(128,0,0)">\documentclass</span>{report}</pre>
<pre style="margin-top:0px; margin-bottom:0px"><br></pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="color:rgb(128,0,0)">\usepackage</span>{<span style="color:rgb(96,96,96)">%</span></pre>
<pre style="margin-top:0px; margin-bottom:0px"><u>pstricks</u>, </pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="text-decoration:underline">pst</span>-plot, </pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="text-decoration:underline">pst</span>-<span style="text-decoration:underline">func</span>, <span style="color:rgb(96,96,96)">%conflicts with \usepackage[group-separator={,}]{siunitx} unless loaded after</span></pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="text-decoration:underline">pst</span>-tree, </pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="text-decoration:underline">pst</span>-node, </pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="text-decoration:underline">pst</span>-<span style="text-decoration:underline">3d</span>, <span style="color:rgb(96,96,96)">%pst-3dplot, conflicts with \includepdf{}</span></pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="text-decoration:underline">pst</span>-grad, </pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="text-decoration:underline">pst</span>-coil, </pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="text-decoration:underline">pst</span>-text, </pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="text-decoration:underline">pst</span>-eps, </pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="text-decoration:underline">pst</span>-fill, </pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="text-decoration:underline">multido</span>, </pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="text-decoration:underline">pst</span>-<span style="text-decoration:underline">solides3d</span>, </pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="text-decoration:underline">pst</span>-math, <span style="color:rgb(96,96,96)">%conflicts with \usepackage[group-separator={,}]{siunitx} unless loaded after</span></pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="text-decoration:underline">pstricks</span>-add, <span style="color:rgb(96,96,96)">%conflicts with \usepackage[group-separator={,}]{siunitx} unless loaded after</span></pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="text-decoration:underline">pst</span>-pdf} <span style="color:rgb(96,96,96)">% everything pstricks</span></pre>
<pre style="margin-top:0px; margin-bottom:0px"><br></pre>
<pre style="margin-top:0px; margin-bottom:0px"><br></pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="color:rgb(0,0,204)">\begin</span>{document}</pre>
<pre style="margin-top:0px; margin-bottom:0px"><br></pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="color:rgb(128,0,0)">\psset</span>{algebraic, plotpoints=200}</pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="color:rgb(0,0,204)">\begin</span>{pspicture*}<span style="color:rgb(154,77,0)">(-</span><span style="color:rgb(102,0,102)">5</span><span style="color:rgb(154,77,0)">,-</span><span style="color:rgb(102,0,102)">1.25</span><span style="color:rgb(154,77,0)">)(</span><span style="color:rgb(102,0,102)">5</span><span style="color:rgb(154,77,0)">,</span><span style="color:rgb(102,0,102)">4.75</span><span style="color:rgb(154,77,0)">)</span></pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="color:rgb(154,77,0)">       </span><span style="color:rgb(0,102,153)">\psset</span><span style="color:rgb(154,77,0)">{xunit=</span><span style="color:rgb(102,0,102)">2</span><span style="color:rgb(154,77,0)">cm, yunit=</span><span style="color:rgb(102,0,102)">2</span><span style="color:rgb(154,77,0)">cm}</span></pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="color:rgb(154,77,0)">       </span><span style="color:rgb(0,102,153)">\renewcommand\pshlabel</span><span style="color:rgb(154,77,0)">[</span><span style="color:rgb(102,0,102)">1</span><span style="color:rgb(154,77,0)">]{</span><span style="color:rgb(0,102,153)">\scriptsize</span><span style="color:rgb(154,77,0)"> #</span><span style="color:rgb(102,0,102)">1</span><span style="color:rgb(154,77,0)">}</span></pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="color:rgb(154,77,0)">       </span><span style="color:rgb(0,102,153)">\renewcommand\psvlabel</span><span style="color:rgb(154,77,0)">[</span><span style="color:rgb(102,0,102)">1</span><span style="color:rgb(154,77,0)">]{</span><span style="color:rgb(0,102,153)">\scriptsize</span><span style="color:rgb(154,77,0)"> #</span><span style="color:rgb(102,0,102)">1</span><span style="color:rgb(154,77,0)">}</span></pre>
<pre style="margin-top:0px; margin-bottom:0px"><br></pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="color:rgb(154,77,0)">       </span><span style="color:rgb(0,102,153)">\psplot</span><span style="color:rgb(154,77,0)">{</span><span style="color:rgb(102,0,102)">0</span><span style="color:rgb(154,77,0)">}{</span><span style="color:rgb(102,0,102)">1.5708</span><span style="color:rgb(154,77,0)">}{cos(x)}</span></pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="color:rgb(154,77,0)">       </span><span style="color:rgb(0,102,153)">\psplot</span><span style="color:rgb(154,77,0)">{</span><span style="color:rgb(102,0,102)">0</span><span style="color:rgb(154,77,0)">}{</span><span style="color:rgb(102,0,102)">1.5708</span><span style="color:rgb(154,77,0)">}{sin(</span><span style="color:rgb(102,0,102)">2</span><span style="color:rgb(154,77,0)">*x)}</span></pre>
<pre style="margin-top:0px; margin-bottom:0px"><br></pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="color:rgb(154,77,0)">       </span><span style="color:rgb(0,102,153)">\pscustom</span><span style="color:rgb(154,77,0)">[fillstyle=solid,fillcolor=gray!</span><span style="color:rgb(102,0,102)">30</span><span style="color:rgb(154,77,0)">,linewidth=</span><span style="color:rgb(102,0,102)">0.2</span><span style="color:rgb(154,77,0)">pt]{</span><span style="color:rgb(96,96,96)">%</span></pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="color:rgb(154,77,0)">               </span><span style="color:rgb(0,102,153)">\psplot</span><span style="color:rgb(154,77,0)">{</span><span style="color:rgb(102,0,102)">0.5236</span><span style="color:rgb(154,77,0)">}{</span><span style="color:rgb(102,0,102)">1.5708</span><span style="color:rgb(154,77,0)">}{cos(x)}</span></pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="color:rgb(154,77,0)">               </span><span style="color:rgb(0,102,153)">\psplot</span><span style="color:rgb(154,77,0)">{</span><span style="color:rgb(102,0,102)">1.5708</span><span style="color:rgb(154,77,0)">}{</span><span style="color:rgb(102,0,102)">0.5236</span><span style="color:rgb(154,77,0)">}{sin(</span><span style="color:rgb(102,0,102)">2</span><span style="color:rgb(154,77,0)">*x)}</span></pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="color:rgb(154,77,0)">               }</span></pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="color:rgb(154,77,0)">       </span><span style="color:rgb(0,102,153)">\pscustom</span><span style="color:rgb(154,77,0)">[fillstyle=solid,fillcolor=gray!</span><span style="color:rgb(102,0,102)">30</span><span style="color:rgb(154,77,0)">,linewidth=</span><span style="color:rgb(102,0,102)">0.2</span><span style="color:rgb(154,77,0)">pt]{</span><span style="color:rgb(96,96,96)">%</span></pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="color:rgb(154,77,0)">               </span><span style="color:rgb(0,102,153)">\psplot</span><span style="color:rgb(154,77,0)">{</span><span style="color:rgb(102,0,102)">0</span><span style="color:rgb(154,77,0)">}{</span><span style="color:rgb(102,0,102)">0.5236</span><span style="color:rgb(154,77,0)">}{cos(x)}</span></pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="color:rgb(154,77,0)">               </span><span style="color:rgb(0,102,153)">\psplot</span><span style="color:rgb(154,77,0)">{</span><span style="color:rgb(102,0,102)">0.5236</span><span style="color:rgb(154,77,0)">}{</span><span style="color:rgb(102,0,102)">0</span><span style="color:rgb(154,77,0)">}{sin(</span><span style="color:rgb(102,0,102)">2</span><span style="color:rgb(154,77,0)">*x)}</span></pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="color:rgb(154,77,0)">               }</span></pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="color:rgb(154,77,0)">       </span></pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="color:rgb(154,77,0)">       </span><span style="color:rgb(0,102,153)">\psaxes</span><span style="color:rgb(154,77,0)">[ticksize=</span><span style="color:rgb(102,0,102)">2</span><span style="color:rgb(154,77,0)">pt, labelsep=</span><span style="color:rgb(102,0,102)">2</span><span style="color:rgb(154,77,0)">pt]{->}(</span><span style="color:rgb(102,0,102)">0</span><span style="color:rgb(154,77,0)">,</span><span style="color:rgb(102,0,102)">0</span><span style="color:rgb(154,77,0)">)(-</span><span style="color:rgb(102,0,102)">0.2</span><span style="color:rgb(154,77,0)">,-</span><span style="color:rgb(102,0,102)">0.2</span><span style="color:rgb(154,77,0)">)(</span><span style="color:rgb(102,0,102)">2.25</span><span style="color:rgb(154,77,0)">,</span><span style="color:rgb(102,0,102)">1.75</span><span style="color:rgb(154,77,0)">)[</span><span style="color:rgb(0,128,0)">$x$</span><span style="color:rgb(154,77,0)">,</span><span style="color:rgb(102,0,102)">0</span><span style="color:rgb(154,77,0)">][</span><span style="color:rgb(0,128,0)">$y$</span><span style="color:rgb(154,77,0)">,</span><span style="color:rgb(102,0,102)">0</span><span style="color:rgb(154,77,0)">]</span></pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="color:rgb(154,77,0)">       </span><span style="color:rgb(0,102,153)">\rput</span><span style="color:rgb(154,77,0)">[t](</span><span style="color:rgb(102,0,102)">1.5708</span><span style="color:rgb(154,77,0)">,-</span><span style="color:rgb(102,0,102)">0.1</span><span style="color:rgb(154,77,0)">){</span><span style="color:rgb(0,128,0)">$\frac{\pi}{2}$</span><span style="color:rgb(154,77,0)">}</span></pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="color:rgb(154,77,0)">       </span><span style="color:rgb(0,102,153)">\psline</span><span style="color:rgb(154,77,0)">[linestyle=dotted](</span><span style="color:rgb(102,0,102)">0.5236</span><span style="color:rgb(154,77,0)">,</span><span style="color:rgb(102,0,102)">0</span><span style="color:rgb(154,77,0)">)(</span><span style="color:rgb(102,0,102)">0.5236</span><span style="color:rgb(154,77,0)">,</span><span style="color:rgb(102,0,102)">0.8660</span><span style="color:rgb(154,77,0)">)</span></pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="color:rgb(154,77,0)">       </span><span style="color:rgb(0,102,153)">\rput</span><span style="color:rgb(154,77,0)">[t](</span><span style="color:rgb(102,0,102)">0.5236</span><span style="color:rgb(154,77,0)">,-</span><span style="color:rgb(102,0,102)">0.1</span><span style="color:rgb(154,77,0)">){</span><span style="color:rgb(0,128,0)">$?$</span><span style="color:rgb(154,77,0)">}</span></pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="color:rgb(154,77,0)">       </span></pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="color:rgb(154,77,0)">       </span><span style="color:rgb(0,102,153)">\rput</span><span style="color:rgb(154,77,0)">[bl](</span><span style="color:rgb(102,0,102)">1.3</span><span style="color:rgb(154,77,0)">,</span><span style="color:rgb(102,0,102)">0.75</span><span style="color:rgb(154,77,0)">){</span><span style="color:rgb(0,128,0)">$y=\sin{\!\left(2x\right)}$</span><span style="color:rgb(154,77,0)">}</span></pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="color:rgb(154,77,0)">       </span></pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="color:rgb(154,77,0)">       </span><span style="color:rgb(0,102,153)">\rput</span><span style="color:rgb(154,77,0)">[b](</span><span style="color:rgb(102,0,102)">0.75</span><span style="color:rgb(154,77,0)">,</span><span style="color:rgb(102,0,102)">1.5</span><span style="color:rgb(154,77,0)">){</span><span style="color:rgb(0,102,153)">\colorbox</span><span style="color:rgb(154,77,0)">{white}{</span><span style="color:rgb(0,128,0)">$y\rnode[b]{A1}{\;=\;}\cos{\!\left(x\right)}$</span><span style="color:rgb(154,77,0)">}}</span></pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="color:rgb(154,77,0)">       </span><span style="color:rgb(0,102,153)">\rput</span><span style="color:rgb(154,77,0)">(</span><span style="color:rgb(102,0,102)">0.3</span><span style="color:rgb(154,77,0)">,</span><span style="color:rgb(102,0,102)">0.95</span><span style="color:rgb(154,77,0)">){</span><span style="color:rgb(0,102,153)">\rnode</span><span style="color:rgb(154,77,0)">[t]{A</span><span style="color:rgb(102,0,102)">2</span><span style="color:rgb(154,77,0)">}{}}</span></pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="color:rgb(154,77,0)">       </span><span style="color:rgb(0,102,153)">\nccurve</span><span style="color:rgb(154,77,0)">[nodesep=</span><span style="color:rgb(102,0,102)">3</span><span style="color:rgb(154,77,0)">pt,angleA=-</span><span style="color:rgb(102,0,102)">90</span><span style="color:rgb(154,77,0)">,angleB=</span><span style="color:rgb(102,0,102)">80</span><span style="color:rgb(154,77,0)">]{->}{A</span><span style="color:rgb(102,0,102)">1</span><span style="color:rgb(154,77,0)">}{A</span><span style="color:rgb(102,0,102)">2</span><span style="color:rgb(154,77,0)">}</span></pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="color:rgb(154,77,0)">       </span></pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="color:rgb(0,0,204)">\end</span>{<span style="text-decoration:underline">pspicture*</span>}</pre>
<pre style="margin-top:0px; margin-bottom:0px"><br></pre>
<pre style="margin-top:0px; margin-bottom:0px"><span style="color:rgb(0,0,204)">\end</span>{document}​<br></pre>
<p><br>
</p>
<br>
--<br>
list: https://lists.tug.org/pstricks<br>
archive: https://tug.org/pipermail/pstricks/</div>
<br>
</div>
</div>
</div>
</div>
</body>
</html>