[pstricks] Horizontal displacement in points of a graphic

Rafael Castro Triguero me1catrr at uco.es
Fri Sep 1 20:12:29 CEST 2006


Dear Pstricks users,

I would like to know how can I delete only the 0 in the horizontal axes and why the points have a little displacement in the horizontal axe.

Lot of thanks


  \begin{figure}[h] %sitúa la imagen junto al texto
  \centering  %centra la imagen
  \begin{pspicture}(-1,-1)(4,4)
  \psset{yunit=0.2cm}
  \savedata{\malladoA}[
  {{1, 6.1}, {2, 15.3}, {3, 15.7}, {4, 20.1}}}]
  \savedata{\malladoB}[
  {{1, 4}, {2, 8.1}, {3, 12}, {4, 7.5}}}]
  \savedata{\malladoC}[
  {{1, 2.9}, {2, 5.3}, {3, 7.8}, {4, 5.2}}}]
  \savedata{\malladoD}[
  {{1, 2.3}, {2, 3.9}, {3, 5.6}, {4, 4}}}]
  \listplot[plotstyle=line,showpoints=true,dotstyle=*,linecolor=green]{\malladoA}
  \listplot[plotstyle=line,showpoints=true,dotstyle=*,linecolor=red]{\malladoB}
  \listplot[plotstyle=line,showpoints=true,dotstyle=*,linecolor=blue]{\malladoC}
  \listplot[plotstyle=line,showpoints=true,dotstyle=*,linecolor=yellow]{\malladoD}
  \uput[0](-2.5,14){\footnotesize{mallado A}}
  \psline[linecolor=green](-3.5,14)(-3,14)
  \uput[0](-2.5,10){\footnotesize{mallado B}}
  \psline[linecolor=red](-3.5,10)(-3,10)
  \uput[0](-2.5,6){\footnotesize{mallado C}}
  \psline[linecolor=blue](-3.5,6)(-3,6)
  \uput[0](-2.5,2){\footnotesize{mallado D}}
  \psline[linecolor=yellow](-3.5,2)(-3,2)
  \def\pshlabel#1{\footnotesize #1}
  \def\psvlabel#1{\footnotesize #1}
  \psaxes[ticksize=1pt,Dx=1,Dy=2]{-}(0,0)(0,0)(5,20)
  \uput[-90](5,0){\footnotesize{frecuencia}}
  \uput[180](0,20){\footnotesize{\% error}}
  \end{pspicture}
  \caption{Resultados elemento shell63 caso práctico nº5} %nombre de la 
 figura
  \label{rshell635} %etiqueta de la figura
 \end{figure}

-- 
-----------------------------------------------------
PhD. Student Rafael Castro Triguero
University of Córdoba
Polithecnical School
Menéndez Pidal Avenue
14004 Córdoba
Spain

University:
      Tel  : +34-957-218329
      Fax  : +34-957-218316
      E-Mail: me1catrr at uco.es

Home:
     Santa Ana de la Albaida nº 14
     Villa Mª José
     Urbanización Olivar Viejo
     14011 Córdoba
     Spain
     Tel.: +34-957-403398
     Mobile : +34-699-039885
----------------------------------------------------





More information about the PSTricks mailing list