[pstricks] PSTricks Digest, Vol 134, Issue 4

Julien Morand julienmorand2 at gmail.com
Wed Mar 12 19:13:07 CET 2014


Thanks a lot Herbert

I wasn't aware of the algebraic mode. Everyday i'm learning a new feature!


2014-03-12 11:31 GMT+01:00 <pstricks-request at tug.org>:

> Send PSTricks mailing list submissions to
>         pstricks at tug.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://tug.org/mailman/listinfo/pstricks
> or, via email, send a message with subject or body 'help' to
>         pstricks-request at tug.org
>
> You can reach the person managing the list at
>         pstricks-owner at tug.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of PSTricks digest..."
>
>
> Today's Topics:
>
>    1. Re: using the xylogscale of pst-plot vs gnuplot exponent
>       issue (Herbert Voss)
>    2. Re: using the xylogscale of pst-plot vs gnuplot exponent
>       issue (Herbert Voss)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 12 Mar 2014 10:54:45 +0100
> From: Herbert Voss <Herbert.Voss at FU-Berlin.DE>
> To: <pstricks at tug.org>
> Subject: Re: [pstricks] using the xylogscale of pst-plot vs gnuplot
>         exponent issue
> Message-ID: <53202EE5.9090708 at FU-Berlin.DE>
> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed
>
> Am 10.03.2014 21:32, schrieb Julien Morand:
>
> > http://commons.wikimedia.org/wiki/File:Bv_rdson.png
> >
> > I try to use the psgraph environment of pst-plot but when I write the
> > given equation the plot is not correct. I have to modify the value of
> > the exponent from 2.5 to 320!!
> >
> > I also try the same equation using gnuplot and the plot is correct (see
> > attached files). Is there anyone that could help me on with this issue?
> > here is my code:
>
> you used a x value in the intervall {1.69879}{3.301} but it must be
> {10^1.69879}{10^3.301}
>
> \documentclass[pstricks]{standalone}
> \usepackage{pstricks-add}
>
> \begin{document}
> \psset{xAxisLabel=$V_{br}(V)$,
>         yAxisLabel=$\displaystyle
> R_{sp\acute{e}cifique}\left(\frac{\Omega}{cm^2} \right)$,
>         llx=-1.5cm,lly=-1cm,urx=1.5cm,ury=1.5cm}
> \begin{psgraph}[tickcolor=lightgray,subtickcolor=lightgray,subticksize=0.5,
>    Ox=1,Dx=1,xsubticks=9,xylogBase=10,
>    logLines=all,Oy=-4,Dy=1,
>    ysubticks=9] {->}(1,-4)(3.301,1.18){11cm}{6cm}
> \psplot[linecolor=darkgray,linestyle=dashed]{1.69879}{3.301}{5.93e-9 320
> x exp mul log}
> \psplot[linecolor=green,algebraic]{1.69879}{3.301}{ log(
> 5.93e-9*(10^x)^2.5 )}
> \end{psgraph}
>
> \end{document}
>
>
> Herbert
>
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 12 Mar 2014 11:30:41 +0100
> From: Herbert Voss <Herbert.Voss at FU-Berlin.DE>
> To: <pstricks at tug.org>
> Subject: Re: [pstricks] using the xylogscale of pst-plot vs gnuplot
>         exponent issue
> Message-ID: <53203751.1070508 at FU-Berlin.DE>
> Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
>
> Am 10.03.2014 21:32, schrieb Julien Morand:
>
> > I'm currently trying to plot the curve of the theoretical RdSOn of a
> > power  MOSFET like in the example:
> >
> > http://commons.wikimedia.org/wiki/File:Bv_rdson.png
>
> and here vthe complete example with the data points
>
> \documentclass[pstricks]{standalone}
> \usepackage{pstricks-add}
> \usepackage{filecontents}
> \begin{filecontents*}{data.dat}
> 20      0.0026
> 24      0.0044
> 30      0.0026
> 40      0.0036
> 55      0.005
> 60      0.0065
> 75      0.008
> 80      0.02
> 120     0.018
> 150     0.044
> 200     0.15
> 250     0.13
> 300     0.34
> 400     0.23
> 650     0.75
> 700     0.9
> 1000    2.4
> 25      0.0027
> 30      0.0027
> 40      0.0033
> 55      0.0047
> 75      0.0068
> 100     0.014
> 200     0.13
> 400     0.4
> 500     1.5
> 800     3
> 20      0.004
> 30      0.0033
> 30      0.003
> 55      0.0047
> 60      0.0085
> 75      0.007
> 100     0.014
> 150     0.032
> 200     0.054
> 250     0.24
> 300     0.45
> 400     0.55
> 450     0.63
> 500     0.52
> 600     0.75
> 650     0.93
> 800     3
> 900     8
> 1000    5
> \end{filecontents*}
>
> \begin{document}
> \psset{xAxisLabel=$V_{br}(V)$,
>         yAxisLabel=$\displaystyle
> R_{sp\acute{e}cifique}\left(\frac{\Omega}{cm^2} \right)$,
>         llx=-1.5cm,lly=-1cm,urx=1.5cm,ury=1.5cm}
> \begin{psgraph}[tickcolor=lightgray,subtickcolor=lightgray,subticksize=0.5,
>    Ox=1,Dx=1,xsubticks=9,xylogBase=10,
>    logLines=all,Oy=-4,Dy=1,
>    ysubticks=9] {->}(1,-4)(3.301,1.18){11cm}{6cm}
> \psplot[linecolor=darkgray,linestyle=dashed,algebraic]{1.69879}{3.301}{
> log( 5.93e-9*(10^x)^2.5 ) }
> \readdata{\data}{data.dat}
> \pstScalePoints(1,1){ log } { log }
> \listplot[plotstyle=dots, dotstyle=triangle*]{\data}
> \end{psgraph}
>
> \end{document}
>
>
> Herbert
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: xyz.png
> Type: image/png
> Size: 18839 bytes
> Desc: not available
> URL: <
> http://tug.org/pipermail/pstricks/attachments/20140312/442e2edd/attachment.png
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
>
>
> ------------------------------
>
> End of PSTricks Digest, Vol 134, Issue 4
> ****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20140312/63bbba74/attachment.html>


More information about the PSTricks mailing list