Normal View

Zoomed-In View

"Minimal" Code Snippet
\documentclass[11pt,rgb]{article}
\usepackage{pst-func}
\renewcommand\pshlabel[1]{{\color{gray}\tiny#1}}
\renewcommand\psvlabel[1]{{\color{gray}\tiny#1}}
\usepackage{graphicx}
\usepackage{bera}
\begin{document}
\noindent\scalebox{2}{%
\begin{pspicture*}[showgrid=false](-3,-3)(3,3)
\psframe[fillcolor=black,fillstyle=solid](-3,-3)(3,3)
\psaxes
[%
linecolor=gray,
tickcolor=gray,
linewidth=0.25pt,
xlabelPos=top,
xticksize=-0.05 0.05,
yticksize=-0.05 0.05%
]{<->}(0,0)(-2,-1.75)(2,2)[$\color{gray}x$,0][$\color{gray}y$,90]
\rput[br](-1.75,1.5){\Large\bf\color{cyan}We}
\rput(1.75,-1){\Large\bf\color{white}PSTricks}
\psplotImp[linecolor=red,linewidth=0.5pt](-2.5,-1.75)(2.5,2.5)%
{x 2 exp 1.25 y mul x abs sqrt sub 2 exp add 2.5 sub}
\rput(0,-2.25){\color{yellow}$x^2 + \left(\frac{5y}{4}-\sqrt{|x|}\right)^2=\frac{5}{2}$}
\end{pspicture*}}
\end{document}
I noticed the produced curve is NOT symmetric about y-axis. It has to be symmetric about y-axis actually.



stepFactor. I set it to 0.1 and the curve looks more smooth. – Display Name Dec 31 '10 at 07:33gnuplot's output: you get coordinates of intersections of a surface and a plane: no continuity in the data. I fooledpgfplotsinto thinking it was continuous becausegnuplotputs adjacent coordinates close to each other, but this is a heuristic. You could use my method for a smoother plot though, hoping it performs as good as my algebraic curves. I don't know how\psplotImplworks, but I guess analogously. – Pieter Dec 31 '10 at 09:51