[pstricks] pb implicitplot

Manuel Luque mluque5130 at aol.com
Wed May 13 17:15:58 CEST 2015


 There is a division by 0 when x = 0. The trick to take xmin = 1e-9, or use code Postscript Div.

\documentclass{article}
\usepackage{pst-func}
\begin{document}
\[
f(x,y)=\frac{0.6x^{0.6}y^{-0.4}}{(5x^{0.6})^2}-2=0
\]
\begin{center}
\begin{pspicture}(-1,0)(6,6)
\psset{unit=5}%
\psaxes{->}(0,0)(1.2,1.2)
\psplotImp[linecolor=blue,algebraic](1e-9,0)(1,1){0.6*x^0.6*y^(-0.4)/(5*x^0.6)^2-2}
%\psplotImp[linecolor=red](0,0)(1,1){0.6 x 0.6 exp mul
%                                       y -0.4 exp mul
%                                       5 x 0.6 exp mul dup mul Div
%                                       2 sub}
\end{pspicture}
\end{center}
\end{document}

 




Manuel
 

-----E-mail d'origine-----
De : piatecki <cyrille.piatecki at univ-orleans.fr>
A: pstricks <pstricks at tug.org>
Envoyé le : Me, 13 Mai 2015 13:35
Sujet : [pstricks] pb implicitplot


This little
program

\documentclass[10pt,a4paper]{article}
\usepackage{pstricks,pst-func}
\begin{document}

\begin{pspicture*}(-3,-3.2)(3.5,3.5)
\psaxes{->}(0,0)(3,3)
\psplotImp[linewidth=2pt,linecolor=blue,algebraic](0,0)(1,1){0.6*x^(0.6)*y^(-0.4)/(2*x^(0.6)+3*x^(0.6))^2-2}
\end{pspicture*}
\end{document}

does
not show the graph in the plane.

Where is my fault ?

Thanks

Cyrille
Piatecki
_______________________________________________
PSTricks mailing
list
PSTricks at tug.org
http://tug.org/mailman/listinfo/pstricks
archive:
http://www.tug.org/pipermail/pstricks/

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20150513/df3113ff/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: piatecki.png
Type: image/png
Size: 7560 bytes
Desc: not available
URL: <http://tug.org/pipermail/pstricks/attachments/20150513/df3113ff/attachment.png>


More information about the PSTricks mailing list