# [pstricks] Some real basic help, please

Scott, Randy Scott_Randy at sccollege.edu
Thu Nov 19 15:34:50 CET 2015

Hi,

Well, I thought I understood this stuff a little better than it seems this morning.

When I run the minimal example below, I expect to see a box on the page, 6cm by 13cm. Inside that box, I expect to see a horizontal axis from -0.4cm to 5.4cm with tick marks at 1, 2, 3, 4, and 5. I also expect to see a vertical axis from -0.9cm to 11.5cm with tick marks at 5cm (labeled 50000) and at 10 cm (labeled 100000). If I uncomment the two \psplot lines, I expect to see an horizontal line at 100000 and an exponential function that intersect at about x=3.82.

I get "Dimension too large" when I run this. If I reduce the y values in \psaxes to small enough values so I don't get the error, then the graph is a flattened mess. I've read my copy of Voss' "PSTricks" until my fingers have blisters.

Any comments would be greatly appreciated.

Sincerely,

Randy Scott

Professor, Mathematics

Santiago Canyon College

Orange, California

\documentclass[pstricks]{standalone}

\usepackage{pst-solides3d, pst-math, pst-3dplot}

\begin{document}

\framebox{

\begin{pspicture}(-0.5,-1)(5.5,12)

\psset{xunit=1cm, yunit=0.0001cm}

\psaxes[axesstyle=axes, ticksize=2pt, Dx=1, Dy=50000, labelsep=3pt]{->}(0,0)(-0.4, -9000)(5.4, 115000)

%               \psplot[algebraic=true, plotpoints=300]{0}{5}{100000}

%               \psplot[algebraic=true, plotpoints=300]{0}{5}{500*2.71828^(1.3863*x)}

\end{pspicture}

}

\end{document}