Mat
16-11-2007, 22:28
Hallo ich würde gerne die Daten die ich eingetragen so eingetragen haben, dass sie auch wirklcih dort stehen wo der wert anhand der logarithmischen werte ist, also wenn ich 2 eingebe sollte er nicht bei 100 liegen, sondern bei 2
\documentclass[12pt]{article}
\usepackage{pst-plot}
\usepackage{multido}
\usepackage{numprint}% you need the latest (!!!) version
\npthousandsep{\,}
\usepackage{arrayjob}% load it after numprint
\usepackage{pstricks-add}
\definecolor{darkgreen}{rgb}{0.23,0.74,0.13}
\definecolor{darkyellow}{rgb}{0.67,0.83,0.13}
\makeatother
\begin{document}
\pspicture(-1,-1)(13,8)
\psaxes[xylogBase=10, logLines=all, axesstyle=frame, xticksize=0 4, yticksize=0 6,
tickwidth=1pt, subtickwidth=0.5pt,subticks=10](0,0)(64,64)
% \rput(-0.5,3){\textit{\rotateleft{Speedup $S_p$}}}
% \rput(5,-0.5){\textit{Anz. Prozessoren p}}
% \rput(7.5,5.3){\textbf{\textcolor{blue}{Algorithmu s 2}}}
% \rput(6.5,2.8){\textbf{\textcolor{red}{Algorithmus 1}}}
% \rput(4.4,6){\textbf{idealer}}
% \rput(4.4,5.5){\textbf{Speedup}}
\pstScalePoints(1,1){log}{log}
\psline[linewidth=1pt]{->}(0,0)(0,+6)
% \psline[linewidth=1pt]{->}(0,0)(+10,0)
% \psline[linewidth=2pt]{}(0,0)(+6,+6)
% \psbezier[linewidth=2pt,linecolor=red, showpoints=false]{}(0,0)(4,3)(4,3)(9.5,4)
% \psbezier[linewidth=2pt,linecolor=blue, showpoints=false]{}(0,0)(6.5,6)(6.5,6)(9.5,3)
\pscurve[showpoints=false]{->}(0,0)(1,1)(2,1.81)(3,2.5)(4,3.07)(5,3.57)(6,4)(10 ,5.26)
\pscurve[showpoints=false]{->}(0,0)(1,1)(2,1.98)(3,2.94)(4,3.88)(5,4.8)(6,5.71) (10,9.17)
\pscurve[showpoints=false]{->}(0,0)(5,5)(10,10)
\endpspicture
\end{document}
Danke
\documentclass[12pt]{article}
\usepackage{pst-plot}
\usepackage{multido}
\usepackage{numprint}% you need the latest (!!!) version
\npthousandsep{\,}
\usepackage{arrayjob}% load it after numprint
\usepackage{pstricks-add}
\definecolor{darkgreen}{rgb}{0.23,0.74,0.13}
\definecolor{darkyellow}{rgb}{0.67,0.83,0.13}
\makeatother
\begin{document}
\pspicture(-1,-1)(13,8)
\psaxes[xylogBase=10, logLines=all, axesstyle=frame, xticksize=0 4, yticksize=0 6,
tickwidth=1pt, subtickwidth=0.5pt,subticks=10](0,0)(64,64)
% \rput(-0.5,3){\textit{\rotateleft{Speedup $S_p$}}}
% \rput(5,-0.5){\textit{Anz. Prozessoren p}}
% \rput(7.5,5.3){\textbf{\textcolor{blue}{Algorithmu s 2}}}
% \rput(6.5,2.8){\textbf{\textcolor{red}{Algorithmus 1}}}
% \rput(4.4,6){\textbf{idealer}}
% \rput(4.4,5.5){\textbf{Speedup}}
\pstScalePoints(1,1){log}{log}
\psline[linewidth=1pt]{->}(0,0)(0,+6)
% \psline[linewidth=1pt]{->}(0,0)(+10,0)
% \psline[linewidth=2pt]{}(0,0)(+6,+6)
% \psbezier[linewidth=2pt,linecolor=red, showpoints=false]{}(0,0)(4,3)(4,3)(9.5,4)
% \psbezier[linewidth=2pt,linecolor=blue, showpoints=false]{}(0,0)(6.5,6)(6.5,6)(9.5,3)
\pscurve[showpoints=false]{->}(0,0)(1,1)(2,1.81)(3,2.5)(4,3.07)(5,3.57)(6,4)(10 ,5.26)
\pscurve[showpoints=false]{->}(0,0)(1,1)(2,1.98)(3,2.94)(4,3.88)(5,4.8)(6,5.71) (10,9.17)
\pscurve[showpoints=false]{->}(0,0)(5,5)(10,10)
\endpspicture
\end{document}
Danke