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