[pstricks] pst-func: unexpected result.

Herbert Voss Herbert.Voss at FU-Berlin.DE
Thu Nov 15 07:44:37 CET 2018


Andres Morales schrieb:
>  Herbert,
> First my apologies for this naive question. When you said
> "Or replace
> pstricks and pst-func from http://archiv.dante.de/~herbert/texnik/
> (at least pstricks.pro and pst-func.pro):
> Do you mean to remove the old ones and bring the new ones instead without
> any "install" procedure?


Andres,
For a first test, download the pst-function.pro from the above
Website, save it into your documents directory and run the example

It should work. If you are not familiar with such stuff, then let me
know and I’ll send you a zip.

Herbert




> Thanks
> Best regards
> Andres    On Wednesday, November 14, 2018, 2:17:33 PM EST, Herbert Voss
> <Herbert.Voss at fu-berlin.de> wrote:
>
>  Am 13.11.18 um 23:00 schrieb Andres Morales:
>
>> I am referring to figures on pages 31 and 32.
>>
>> Both files run perfectly but neither show the functions psCi, psci,
>> psSi, and pssi.
>
> I uploaded new versions for pstricks-base and pst-func which should
> be available in the next two days on all CTAN mirros. Or replace
> pstricks and pst-func from http://archiv.dante.de/~herbert/texnik/
> (at least pstricks.pro and pst-func.pro)
>
> and the example shouldn't use as interval not
>
>> \psSi[plotpoints=1500,linecolor=red,linewidth=1pt]{-14.5}{14.5}
>> \pssi[plotpoints=1500,linecolor=blue,linewidth=1pt]{-14.5}{14.5}
>
> but
>
> \psSi[plotpoints=1500,linecolor=red,linewidth=1pt]{-12.5}{12.5}
> \pssi[plotpoints=1500,linecolor=blue,linewidth=1pt]{-12.5}{12.5}
>
> I'll provide in the future a better solution.
>
> Herbert
>
>
>> \rput(-5,1.5){\color{red}$Si(x)=\int\limits_{0}^x
>> \frac{\sin(t)}{t}\mathrm{d}t$}
>> \rput(8,-1.5){\color{blue}$si(x)=-\int\limits_{x}^{\infty}
>> \frac{\sin(t)}{t}\mathrm{d}t=Si(x)-\frac{\pi}{2}$}
>> \rput(8,.5){$f(x)= \frac{\sin(t)}{t}$}
>> \end{pspicture}
>>
>> \end{document}
>>
>> The document is compiled through: dvi to ps to pdf.
>>
>> All run ok but the last step shows on the console:
>>
>> Command Line:   ps2pdf.exe "pstfunc021a.ps"
>> Startup Folder:
>> C:\Andres\LaTeX_Tests\TeXFiles\Tests\PSTricks\ExercisesPS-Trick-Fun
>>
>> Error: /undefinedresult in --div--
>> Operand stack:
>>     -206.282   #INF.0   35
>> Execution stack:
>>     %interp_exit   .runexec2   --nostringval--   --nostringval-- 
>>   --nostringval--   2   %stopped_push   --nostringval-- 
>>   --nostringval--   --nostringval--   false   1   %stopped_push   2015 
>>   1   3   %oparray_pop   2014   1   3   %oparray_pop   1998   1   3 
>>   %oparray_pop   1884   1   3   %oparray_pop   --nostringval-- 
>>   %errorexec_pop   .runexec2   --nostringval--   --nostringval-- 
>>   --nostringval--   2   %stopped_push   --nostringval-- 
>>   --nostringval--   --nostringval--   %loop_continue   --nostringval--
>> Dictionary stack:
>>     --dict:969/1684(ro)(G)--   --dict:0/20(G)--   --dict:168/200(L)-- 
>>   --dict:186/300(L)--   --dict:38/200(L)--   --dict:130/200(L)-- 
>>   --dict:53/100(L)--
>> Current allocation mode is local
>> Current file position is 279828
>> MiKTeX GPL Ghostscript 9.25: Unrecoverable error, exit code 1
>>
>>
>> The PSF picture shows only the plot with the instruction
>> \psplot[plotpoints=1000]{-14.5}{14.5}{ x RadtoDeg sin x div }
>>
>> Another question: How to get in all the graphs with differential in
>> integrals the upright d? an instruction in the preamble?
>> I had to change to the code shown above to get it right.
>>
>> My apologies for this, so long, email,
>>
>> Any help is appreciated.
>>
>> Best regards
>>
>>
>> _______________________________________________
>> 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/
> _______________________________________________
> 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