[pstricks] PSTricks Digest, Vol 79, Issue 22

arbi adouani abdelhamid arbiadouani at gmail.com
Fri Aug 21 17:08:38 CEST 2009


\documentclass[12pt]{article}

\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}

\usepackage{pst-all}
\usepackage{multido}


%-------------------------------------------------------------------------
% je défini les couleurs de la grille
\definecolor{gris}{rgb}{.9, .9, .9}

\definecolor{bla}{rgb}{.5, .5, .5}
% je construit le papier millimitré
\newpsobject{mypmm}{psgrid}{subgriddiv=5,gridlabels=0pt,subgridcolor=gris,gridcolor=bla}
%-------------------------------------------------------------------------------------------
% je construit les axes et la grille

\begin{document}
\begin{pspicture}(-5,-3)(5,3)

%\mypmm

\psaxes[Ox=0,Dx=1,Oy=0,Dy=1,linecolor=red]{->}(0,0)(-5,-3)(5,3)

\end{pspicture}
\end{document}


On Fri, Aug 21, 2009 at 3:57 PM, <pstricks-request at tug.org> wrote:

> Send PSTricks mailing list submissions to
>        pstricks at tug.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://tug.org/mailman/listinfo/pstricks
> or, via email, send a message with subject or body 'help' to
>        pstricks-request at tug.org
>
> You can reach the person managing the list at
>        pstricks-owner at tug.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of PSTricks digest..."
>
>
> Today's Topics:
>
>   1. Re: PSTricks Digest, Vol 79, Issue 21 (arbi adouani abdelhamid)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 21 Aug 2009 15:57:17 +0100
> From: arbi adouani abdelhamid <arbiadouani at gmail.com>
> To: pstricks at tug.org
> Subject: Re: [pstricks] PSTricks Digest, Vol 79, Issue 21
> Message-ID:
>        <9dec2cec0908210757w6591101by8142b03a0ffa007d at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> bonjour
> voici comment faire un papier millimitr? et les axes
> * \documentclass[12pt]{article}*
> *\usepackage{amsmath}
> \usepackage{amsfonts}
> \usepackage{amssymb}*
> *\usepackage{pst-all}
> \usepackage{multido}*
>
> *%-------------------------------------------------------------------------
> % je d?fini les couleurs de la grille
> \definecolor{gris}{rgb}{.9, .9, .9}*
> *\definecolor{bla}{rgb}{.5, .5, .5}
> % je defini le mon papier millimitr?
>
> \newpsobject{mypmm}{psgrid}{subgriddiv=5,gridlabels=0pt,subgridcolor=gris,gridcolor=bla}
>
> %-------------------------------------------------------------------------------------------
> *
> *\begin{document}*
> *% je construit les axes et la grille
> \begin{pspicture}(-4,-2)(4,2)*
> *\mypmm*
> *\psaxes[Ox=0,Dx=1,Oy=0,Dy=1,linecolor=red]{->}(0,0)(-4,-2)(4,2)*
> *\end{pspicture}
> \end{document}*
> **
> *la compilation se fait ainsi: latex--->
> dvips(doc4.ps)---->ghostview---->fichier------>convert
> ----->toutes---->ok (doc4.pdf)*
>
> **
> *salam, abdelhamid
>
> *
>
>
> On Fri, Aug 21, 2009 at 11:00 AM, <pstricks-request at tug.org> wrote:
>
> > Send PSTricks mailing list submissions to
> >        pstricks at tug.org
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> >        http://tug.org/mailman/listinfo/pstricks
> > or, via email, send a message with subject or body 'help' to
> >        pstricks-request at tug.org
> >
> > You can reach the person managing the list at
> >        pstricks-owner at tug.org
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of PSTricks digest..."
> >
> >
> > Today's Topics:
> >
> >   1. psgraph and psgrid (bereket T)
> >   2. Re: psgraph and psgrid (Doris Wagner)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Thu, 20 Aug 2009 05:49:47 -0700 (PDT)
> > From: bereket T <bermaths at yahoo.com>
> > To: pstricks at tug.org
> > Subject: [pstricks] psgraph and psgrid
> > Message-ID: <985589.13027.qm at web30002.mail.mud.yahoo.com>
> > Content-Type: text/plain; charset="us-ascii"
> >
> > Hi Everyone:
> >
> >
> > I would like to draw a rectangular coordinate system with grids. I used
> the
> > code below. However, the coordinate axes are being hided by the grids
> which
> > are drawn over them. Could someone help on how to put the grids behind
> the
> > coordinate axes?
> >
> > *********************************************
> >
> > \documentclass{article}
> > \usepackage{pstricks,pstricks-add}
> > \usepackage{multido}
> >
> > \begin{document}
> >
> > \begin{psgraph}(0,0)(-4,-2)(4,2){8cm}{!}
> > \psgrid[gridcolor=lightgray,subgriddiv=1,gridlabels=0]
> > \end{psgraph}
> >
> > \end{document}
> >
> > Sincerely,
> > Bereket
> >
> >
> >
> >
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL: <
> >
> http://tug.org/pipermail/pstricks/attachments/20090820/a5b38dd6/attachment-0001.html
> > >
> >
> > ------------------------------
> >
> > Message: 2
> > Date: Thu, 20 Aug 2009 18:47:55 +0200
> > From: Doris Wagner <doris.wagner at mac.com>
> > To: Graphics with PSTricks <pstricks at tug.org>
> > Subject: Re: [pstricks] psgraph and psgrid
> > Message-ID: <B4590651-692F-4EE3-A649-58B1219ACEC1 at mac.com>
> > Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
> >
> > bereket,
> >
> > the problem is, that _first_ the axes are drawn and second the grid;
> > so I would use psaxes explicitely:
> >
> > \documentclass{article}
> > \usepackage{pstricks,pstricks-add}
> > \begin{document}
> > \begin{pspicture}(-4,-2)(4,2)
> > \psgrid[gridcolor=lightgray,subgriddiv=1,gridlabels=0]
> >
> > \psaxes(0,0)(-4,-2)(4,2)
> > \end{pspicture}
> >
> > \end{document}
> >
> >
> >
> >
> > On 20.08.2009, at 14:49, bereket T wrote:
> >
> > > \documentclass{article}
> > > \usepackage{pstricks,pstricks-add}
> > > \usepackage{multido}
> > >
> > > \begin{document}
> > >
> > > \begin{psgraph}(0,0)(-4,-2)(4,2){8cm}{!}
> > > \psgrid[gridcolor=lightgray,subgriddiv=1,gridlabels=0]
> > > \end{psgraph}
> > >
> > > \end{document}
> >
> >
> >
> > ------------------------------
> >
> > _______________________________________________
> > PSTricks mailing list
> > PSTricks at tug.org
> > http://tug.org/mailman/listinfo/pstricks
> >
> >
> > End of PSTricks Digest, Vol 79, Issue 21
> > ****************************************
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://tug.org/pipermail/pstricks/attachments/20090821/abd33fa1/attachment.html
> >
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: do4.tex
> Type: application/x-tex
> Size: 761 bytes
> Desc: not available
> URL: <
> http://tug.org/pipermail/pstricks/attachments/20090821/abd33fa1/attachment.tex
> >
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: do4.ps
> Type: application/postscript
> Size: 57769 bytes
> Desc: not available
> URL: <
> http://tug.org/pipermail/pstricks/attachments/20090821/abd33fa1/attachment.ps
> >
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: do4.pdf
> Type: application/pdf
> Size: 5463 bytes
> Desc: not available
> URL: <
> http://tug.org/pipermail/pstricks/attachments/20090821/abd33fa1/attachment.pdf
> >
>
> ------------------------------
>
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
>
>
> End of PSTricks Digest, Vol 79, Issue 22
> ****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20090821/ba412421/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: do4.tex
Type: application/x-tex
Size: 762 bytes
Desc: not available
URL: <http://tug.org/pipermail/pstricks/attachments/20090821/ba412421/attachment-0001.tex>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: do4.ps
Type: application/postscript
Size: 57914 bytes
Desc: not available
URL: <http://tug.org/pipermail/pstricks/attachments/20090821/ba412421/attachment-0001.ps>


More information about the PSTricks mailing list