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