Search found 351 matches

by CrazyHorse
Thu Jan 19, 2017 6:48 pm
Forum: Graphics, Figures & Tables
Topic: [pstricks] psRandom - distance to clipping object
Replies: 3
Views: 5449

[pstricks] psRandom - distance to clipping object

\documentclass[pstricks]{standalone}
\usepackage{pst-plot}
\begin{document}

\begin{pspicture}[showgrid](-4.3,-2.3)(4,2.2)
\psplot[plotstyle=dots,algebraic,plotpoints=200]{-3.9}{3.9}{Rand*(sqrt(4-x^2/4)-0.1)}
\psplot[plotstyle=dots,algebraic,plotpoints=200]{-3.9}{3.9}{Rand*(-sqrt(4-x^2/4)+0.1 ...
by CrazyHorse
Sat Apr 26, 2014 8:31 pm
Forum: Graphics, Figures & Tables
Topic: Rendering an eps file?
Replies: 5
Views: 5732

Rendering an eps file?

\documentclass{article}
\usepackage{pst-plot}
\begin{document}

\psset{unit=4}
\begin{pspicture}(-1.2,-1.2)(1.2,1.2)
\psaxes[labels=none,ticks=none]{->}(0,0)(-1.1,-1.1)(1.1,1.1)
\psparametricplot[algebraic,linecolor=red,plotpoints=1000,linewidth=1.5pt]{0}{11}{
cos(7*t) | sin(11*t) }
\end{pspicture ...
by CrazyHorse
Thu Apr 24, 2014 4:47 pm
Forum: Graphics, Figures & Tables
Topic: Unusual position for a caption
Replies: 2
Views: 3017

Unusual position for a caption

I have three images that I am combining into one figure. Two images on the top row and one on the bottom. My question: is it possible to put the caption in the bottom right, where a fourth image would usually go, rather than at the bottom?

have a look at package floatrow . for the documentation ...
by CrazyHorse
Tue Apr 22, 2014 10:22 pm
Forum: Graphics, Figures & Tables
Topic: Psbrace isn't working
Replies: 2
Views: 3992

Psbrace isn't working


I am desperately trying to get a small brace into a pspicture, bu it just doesn't work. I have already installed the pstricks-add package, but as soon as I want to add \psbrace , nothing works anymore. Here is what I have:



You can simplify a lot of the code:

\documentclass[12pt,a4paper ...
by CrazyHorse
Tue Apr 22, 2014 10:05 pm
Forum: TeX Live and MacTeX
Topic: Trying to get PSTricks to work...
Replies: 3
Views: 8547

Trying to get PSTricks to work...


I use Debian Wheezy and have installed texlive , full and also texlive-pstricks . I now wish to use latexdraw and use the on-the-fly generated latex code in my latex-documents. I run latexdraw, draw something and try to use the generated code but the response

(/usr/share/texlive/texmf-dist/tex ...
by CrazyHorse
Tue Jan 08, 2013 7:19 pm
Forum: Graphics, Figures & Tables
Topic: Automatic Calculation of Week Number in Table
Replies: 15
Views: 14928

Automatic Calculation of Week Number in Table

svend_tveskaeg wrote: P.S.: The slashbox package (not part of TeX Live) is needed to compile the code.
For your question and your example it is absolutely not important to use that package.
by CrazyHorse
Sat Jan 05, 2013 10:52 pm
Forum: Graphics, Figures & Tables
Topic: PSTricks syntax
Replies: 9
Views: 11984

PSTricks syntax

svend_tveskaeg wrote: Can you tell me when to use \def and when to use \pstVerb?
\def defines a TeX macro, used as \...
\pstVerb defines PostScript functions, used _only_ in PS expressions

Code: Select all

\pstVerb{ /ePow { 2.728 exch exp } def }
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
now you can use something like

Code: Select all

ngrid = 1 3 ePow,
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
by CrazyHorse
Sat Jan 05, 2013 10:19 pm
Forum: Graphics, Figures & Tables
Topic: PSTricks syntax
Replies: 9
Views: 11984

PSTricks syntax


\pstVerb{
/nLeft 2 \lWind mul \factor div def
/nRight 2 \rWind mul \factor div def
}

\newpsobject{wire}{psSolid}{%
object=courbe,
% Choose max(\nRight,\nLeft) -- the fewer windings, the larger
% the constant multiplied by max(\nRight,\nLeft)
ngrid=970 \nLeft mul cvi 15,

, I get this ...
by CrazyHorse
Sat Jan 05, 2013 9:26 pm
Forum: Graphics, Figures & Tables
Topic: PSTricks syntax
Replies: 9
Views: 11984

PSTricks syntax

svend_tveskaeg wrote:

Code: Select all

\def\nLeft{2 \lWind mul \factWind div }
\def\nRight{2 \rWind mul \factWind div }
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
but that leads to an error.
define

Code: Select all

Code, edit and compile here:
\pstVerb{
/nLeft 2 \lWind mul \factWind div def
/nRight 2 \rWind mul \factWind div def
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
then you can use nLeft and nRight as PostScript variables in your other macros.
by CrazyHorse
Wed Jan 02, 2013 6:41 pm
Forum: BibTeX, biblatex and biber
Topic: Use of \@year@ doesn't match its definition.
Replies: 17
Views: 30237

Use of \@year@ doesn't match its definition.

I don't understand exactly what you explain in your last post. Are you trying to say there is nothing wrong with my file? I tried to run latex on the file in both TexMaker en TexWorks

I know there is an error with the graphics, but I didn't look into that eror. I want to fix the Use of \@year ...