[pstricks] Question aboout pst-plot

Herbert Voss Herbert.Voss at FU-Berlin.DE
Thu Jan 16 09:20:45 CET 2014


Am 14.01.2014 21:34, schrieb azzam.hassan at voila.fr:

> here below my pstricks code

for someone who wants to help it is some work to test your
code snippet. Guessing what packages are used, creating a document
envorionment and so on.
That is the reason why you should provide a _complete code_
which can pasted into a GUI and then be run by TeX

Herbert


> \begin{center}
> \def\f{x^2-2}
> \def\fDerive{2*x}
> \psset{plotpoints=100,algebraic,xunit=2cm,yunit=.5cm}
> \psset[pst-plot]{fontscale=10,valuewidth=10,decimals=-1}
> %
> \begin{pspicture*}[showgrid](-3,-5)(3.5,5)
> \psaxes[labelFontSize=\scriptstyle]{->}(0,0)(-3,-3)(3,4.5)[$x$,0][$y$,0]
> \psplot[linewidth=2pt,linecolor=blue]{-1}{3}{\f}
> \uput[270](2.5,-0.1){$x_0=2.5$} %\uput[90](3.9,0){$x_0$}
> \psNewton[linecolor=red,linewidth=0.5pt,%plotstyle=xvalues,
> showDerivation=false]{2.5}{\f}{3}
> \psNewton[showpoints=true,dotsize=5pt,dotstyle=o,plotstyle=xvalues,linestyle=dashed]{2.5}{\f}{4}
> \rput*(0,-3.5){M{\'e}thode de Newton: R{\'e}solution de $x^2-2=0$}
> \end{pspicture*}
> \end{center}
>
> I would make the xvalues on the plot, smaller
>
> Cordialement
> Azzam HASSAN
>
>
>> Message du 14/01/14 à 06h21
>> De : "Doris Behrendt"
>> A : "azzam.hassan at voila.fr" , "Graphics with PSTricks"
>
>> Copie à :
>> Objet : Re: [pstricks] Question aboout pst-plot
>>
>> Hi Azzam,
>>
>> could you send us your complete code, with header and all?
>>
>> Doris
>>
>> On Jan 13, 2014, at 9:45 AM, azzam.hassan at voila.fr wrote:
>>
>>> Hi all pstrickers
>>> How can one, when using command as \psNewton with the option: plotstyle=xvalues, display these values smaller and/or control theire sizes on the plot.
>>> Example:
>>> \psNewton[showpoints=true,dotsize=5pt,dotstyle=o,linestyle=dashed]{2.5}{\f}{4}
>>> any help
>>> Cordialement
>>> Azzam HASSAN
>>>
>>>
>>> ___________________________________________________________
>>> Soldes hiver 2014 : mode, informatique, hifi, télé... Les bonnes affaires sont sur Voila.fr http://shopping.voila.fr/
>>>
>>> _______________________________________________
>>> PSTricks mailing list
>>> PSTricks at tug.org
>>> http://tug.org/mailman/listinfo/pstricks
>>> archive: http://www.tug.org/pipermail/pstricks/
>>
>>
>> _______________________________________________
>> PSTricks mailing list
>> PSTricks at tug.org
>> http://tug.org/mailman/listinfo/pstricks
>> archive: http://www.tug.org/pipermail/pstricks/
>>
> ___________________________________________________________
> Soldes hiver 2014 : mode, informatique, hifi, télé... Les bonnes affaires sont sur Voila.fr http://shopping.voila.fr/
>
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
> archive: http://www.tug.org/pipermail/pstricks/
>



More information about the PSTricks mailing list