[pstricks] PSTricks Digest, Vol 132, Issue 12

Germain BOYER germain.boyer at ac-toulouse.fr
Fri Jan 31 19:10:32 CET 2014


Bonjour Herbert,

Thanks for your answer. It works well. It's to draw a bar chart. 

The complete example is :

\psset{xunit=10cm,yunit=2.5mm,comma=true}
\begin{pspicture}(-0.07,-5)(1,30)
\psset{linewidth=0.15mm , dimen=middle} 
\psframe[fillstyle=solid,fillcolor=lightgray](0,0)(0.08,1)
\psframe[fillstyle=solid,fillcolor=lightgray](0.16,0)(0.24,4)
\psframe[fillstyle=solid,fillcolor=lightgray](0.24,0)(0.32,12)
\psframe[fillstyle=solid,fillcolor=lightgray](0.32,0)(0.40,16)
\psframe[fillstyle=solid,fillcolor=lightgray](0.40,0)(0.48,22)
\psframe[fillstyle=solid,fillcolor=lightgray](0.48,0)(0.56,25)
\psframe[fillstyle=solid,fillcolor=lightgray](0.56,0)(0.64,13)
\psframe[fillstyle=solid,fillcolor=lightgray](0.64,0)(0.72,4)
\psframe[fillstyle=solid,fillcolor=lightgray](0.72,0)(0.80,3)
\uput[u](0.92,0){diam\`etre}
\uput[r](0,28){effectif}
\psframe[fillstyle=solid,fillcolor=lightgray](0.05,-4)(0.13,-3)
\uput[u](0.04,1){1} 
\uput[u](0.20,4){4} 
\uput[u](0.28,12){12} 
\uput[u](0.36,16){16} 
\uput[u](0.446,22){22} 
\uput[u](0.52,25){25} 
\uput[u](0.60,13){13} 
\uput[u](0.68,4){4} 
\uput[u](0.76,3){3}
\uput[dl](0,-0.8){\scriptsize 79,54}
\rput(0.18,-3.5){$= 1$} 
\scriptsize
\psaxes[tickwidth=0.15mm , Ox=79.54,Dx=0.08,Dy=100](0,0)(-0.07,-5)(1,30)
\normalsize
\end{pspicture}

Now all the frame are in the right place.

Thanks.

Germain ----- Message reçu ----- 
De : pstricks-request 
À : pstricks 
Date : 2014-01-31, 12:00:03
Sujet : PSTricks Digest, Vol 132, Issue 12


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. psframe and ticks of psaxes (Germain BOYER)
   2. Re: psframe and ticks of psaxes (Herbert Voss)


----------------------------------------------------------------------

Message: 1
Date: Fri, 31 Jan 2014 00:06:38 +0100
From: Germain BOYER <germain.boyer at ac-toulouse.fr>
To: pstricks <pstricks at tug.org>
Subject: [pstricks] psframe and ticks of psaxes
Message-ID: <DM__140131000304_12258357262 at smtp.orange.fr>
Content-Type: text/plain; charset="iso-8859-1"

Bonjour,

Look at this picture

\psset{unit=1cm} 
\begin{pspicture}(0,0)(5,5)
\psaxes[linewidth=0.25mm , tickwidth=0.25mm](0,0)(0,0)(5,5)
\psline(0,0)(0,2)(1,2)(1,0)
\psframe(2,0)(3,2)
\end{pspicture}

With \psline(0,0)(0,2)(1,2)(1,0) the line is under the ticks.
With \psframe(2,0)(3,2) the line is not under the ticks.
Is it possible to put the line under the ticks with \psframe ?

Thanks for yours answers.

Germain 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20140131/3466918e/attachment-0001.html>

------------------------------

Message: 2
Date: Fri, 31 Jan 2014 07:58:12 +0100
From: Herbert Voss <Herbert.Voss at FU-Berlin.DE>
To: Graphics with PSTricks <pstricks at tug.org>
Subject: Re: [pstricks] psframe and ticks of psaxes
Message-ID:
  <64731.84.191.135.111.1391151492.webmail at webmail.zedat.fu-berlin.de>
Content-Type: text/plain; charset="utf-8"

Germain BOYER schrieb:

> \psset{unit=1cm}
> \begin{pspicture}(0,0)(5,5)
> \psaxes[linewidth=0.25mm , tickwidth=0.25mm](0,0)(0,0)(5,5)
> \psline(0,0)(0,2)(1,2)(1,0)
> \psframe(2,0)(3,2)
> \end{pspicture}
>
> With \psline(0,0)(0,2)(1,2)(1,0) the line is under the ticks.
> With \psframe(2,0)(3,2) the line is not under the ticks.
> Is it possible to put the line under the ticks with \psframe ?

providing a _complete_ example would be fine ...

\psframe[dimen=middle](2,0)(3,2)

Herbert




------------------------------

Subject: Digest Footer

_______________________________________________
PSTricks mailing list
PSTricks at tug.org
http://tug.org/mailman/listinfo/pstricks


------------------------------

End of PSTricks Digest, Vol 132, Issue 12
*****************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20140131/ef05eace/attachment.html>


More information about the PSTricks mailing list