New answers tagged

2

Will be fixed as soon as possible: \documentclass{scrartcl} \usepackage{pstricks} \usepackage{pst-plot} \makeatletter\def\pst@vlabels#1#2#3#4{% \ifSpecialLabelsDone\else \ifx\empty\psk@yLabels \ifdim#1=\z@\else \ifx#2\empty\else\ifdim#1>\z@ \advance#1 by -7\pslinewidth\else\advance#1 by 7\pslinewidth\fi\fi \pst@cnta=#1\...


3

You have to use a multiple distance of the ticks of the curve, which is not easy to know for a curve. However: \psparametricplot[algebraic]{-1}{1.53}{t|t^2+4}% \pscurvepoints{-1}{1.53}{t|t^2+4}{L}%


7

A rough approximation with tikz: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw (3.7856,5.5772) .. controls (3.7649,5.5841) and (3.7443,5.5910) .. (3.7236,5.5978) .. controls (3.6435,5.5981) and (3.5057,5.6054) .. (3.4820,5.5903) .. controls (3.4642,5.5789) and (3.3646,5.4897) .. (3.3646,5.4897) .. controls (3.3189,5....


3

\documentclass{article} \usepackage{pst-eucl,pstricks-add} \begin{document} \def\F{x*(-5.5/3.5)+5.5} \def\G{x*(-4/5)+4} \begin{pspicture}[algebraic](-3.5,-0.5)(4,7) \pstInterFF[PointName=none,PointSymbol=none]{\F}{\G}{0}{I} \pscustom[linestyle=none,algebraic,fillstyle=solid,fillcolor=blue!30]{% \psplot{0}{\psGetNodeCenter{I}I.x}{\F}% \psplot{\...


3

Here is a simplified code. The \psframe command and the psclip environment are not necessary here if you reorganise the definition of \pscustom in the correct order. I also used the optional arguments of \psaxes to place the H and P labels. \documentclass[svgnames]{article} \usepackage{pstricks-add} \begin{document} \begin{pspicture}(-3.5,-0.5)(4,7) \...


11

Approach using only pst-solides3d UPDATE - A few improvements Instead of calculating the points E and F (altitudes of triangles ABSand ACS, respectively) with: \psProjection[object=point,definition=interdroite] whose length is dependent on the dimension of the grid defined with base, these are obtained directly with: \psProjection[object=point,...


4

It does not make real sense to extend the psvectorian package. It is much more easier to use a single graphic file. However, if you really want it, then copy the files psvectorian.tex and psvectorian.pro into your local directory as psvectorian2.tex and psvectorian2.pro. For a test you can save the file in the documents directory. In the style file replace ...


2

something like this? \RequirePackage{filecontents} \begin{filecontents*}{Data1.txt} 5 7.346642472 0.570377917 -0.5703779173 5.5 7.568566113 0.575130876 -0.5751308769 \end{filecontents*} \begin{filecontents*}{Data2.txt} 5 7.042472165 0.370377917 -0.370377917 5.5 7.925676113 0.325130876 -0.325130876 \end{filecontents*} \begin{filecontents*}{...


3

In order to understand what DIV and COSC do behind the scene, it will be better if you can recreate them only with pst-plot as follows. \documentclass[border=10pt,pstricks]{standalone} \usepackage{pst-plot} \pstVerb{ /DIV {dup 0 eq {pop 1}{} ifelse div} bind def /COSC {dup RadtoDeg cos exch DIV} bind def } \psset{xunit=.5,yunit=2} \begin{...


5

3 4 div is valid, but 3 0 div throws an error. With 3 0 DIV it is valid but returns simply 3. That is the difference between div and DIV


6

The definition of COSC states dup COS exch div. Looking at the PostScript Stack Commands Reference (http://www.ugrad.math.ubc.ca/Flat/stack-ref.html) this means: add a duplicate copy of the top object of the stack to the stack COS exchange the position of the top two elements on the stack divide In pst-math the `COS function is defined as cosine on radians....


Top 50 recent answers are included