semilog axis on data plots

Djones9976 djones9976 at aol.com
Tue Jul 30 04:23:36 CEST 2019


All,I am using the following program to generate a graph with logarithmic scale on the y-axis shown in the attached picture.  In this figure, the scaled x-axis should appear at the bottom not at the 10^0 line, the last two decades should have grid lines and the grid lines should not extend past the x=1 point on the abscissa.   I have tried everything to no avail.   Any suggestions or help will be appreciated.
D. W. Jones


p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Arial}p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Arial; min-height: 16.0px}% !TEX TS-program = latex\documentclass{article}\usepackage[latin1]{inputenc}\usepackage[ngerman]{babel}\usepackage{pst-plot,pstricks-add}\pagestyle{empty}\parindent=0pt\usepackage{filecontents}\def\dataX{%-1.0  0.555-.80  0.14-.60  0.21-.40  2.9-.20  290.00    21.20     15.1.40     19.60     50.80     1751.00    650}%\end{filecontents*}
\begin{document}\psset{xunit=6cm, yunit=2cm}% wirkt auch auf pspicture\begin{pspicture}(-1,-2)(1,5)\psaxes[linewidth=2pt,axesstyle=frame,Ox=-1,Oy=0,Dx=.2, ylogBase=10,%    tickcolor=gray,ysubticks=10,%    logLines=y,subtickcolor=gray,%    xticksize=0 5,yticksize=0 3,subticksize=5](-1,0)(-1,-2)(1,5)\pstScalePoints(1,1){}{log}\listplot[plotstyle=line, linesize=2,linecolor=red]{\dataX}\end{pspicture}

 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/texhax/attachments/20190730/0c488588/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logdataplot.jpg
Type: image/jpeg
Size: 44391 bytes
Desc: not available
URL: <https://tug.org/pipermail/texhax/attachments/20190730/0c488588/attachment-0001.jpg>


More information about the texhax mailing list