I'm new by pstricks and trying to make my plots with it, but I am facing some problems.

  1. I cannot place my plots wherever I want to in the page as I did for pict2e. How can I fix the plots where I want them to be?

  2. I don't know which packages are used for each plot. For example, which package should I use when I'm plotting axes and using \psaxes and such examples? Where can I find a good reference for that?

  3. How can I make a caption for my plots? The way I used to make captions in pict2e is not that much useful here. For instance the code which is below : ‎

    ‎\psline[linewidth=‎1‎pt , ‎linecolor=red‎‎]{<-‎‎}(-1,1)‎‎
    ‎‎\psline[linewidth=‎1‎pt , ‎linecolor=yellow‎‎]{-‎‎>}(‎0‎,1)‎‎
    ‎\psline[‎linecolor=orange , ‎linewidth=‎1‎pt]{-‎‎>}(1,‎0‎)‎‎
    ‎‎‎‎‎\psline‎‎‎[‎‎‎‎‎linewidth=‎2‎pt ,‎ ‎linecolor‎=magenta ‎‎]‎‎‎‎{-‎‎>}(1,‎4‎‎‎‎)‎‎
    ‎‎\caption{‎first arrows‎‎} ‎‎

the pdf file of the above code

  • 1
    Please remove all that unnecessary white space from your picture.
    – Caramdir
    Sep 24, 2011 at 20:32
  • 1
    I would if I knew how can I do it
    – Prelude
    Sep 24, 2011 at 20:47
  • 1
    There are lots of tools for that. If you are on Windows there is for example MS Paint.
    – Caramdir
    Sep 24, 2011 at 21:15
  • oh , I see , I thought that you mean by LATEX , I'll do that for my next posts .
    – Prelude
    Sep 24, 2011 at 21:23

1 Answer 1


There is tons of documentation on your system! Run texdoc pst-plot and you'll get the one from package pst-plot, or visit http://PSTricks.tug.org

You do not need the figure environment if you want to place the image at a particular place in your doc:


\captionof{figure}{first arrows}

  • 1
    The tutorials from TUG India at PSTricks site mentioned above are an excellent way to start learning.
    – DJP
    Sep 24, 2011 at 20:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.