1
0
mirror of git://projects.qi-hardware.com/cae-tools.git synced 2024-12-23 08:39:33 +02:00

cameo/templates/mkmk-simple: use "set size ratio -1", not "set size ratio square"

"ratio -1" produces a 1:1 ratio of the units (which is what we want) while
"ratio square" makes the xrange and yrange the same size, whatever that's
supposed to be good for.
This commit is contained in:
Werner Almesberger 2012-12-27 19:52:16 -03:00
parent c34a154e25
commit 9a6772f79d

View File

@ -106,12 +106,12 @@ cng:
\$(CNGT) -57.4 20 mill.gp \$(CNGT) -57.4 20 mill.gp
plot: plot:
echo 'set size square; \ echo 'set size ratio -1; \
plot "drill.gp" with points, "mill.gp" with lines' | \\ plot "drill.gp" with points, "mill.gp" with lines' | \\
gnuplot -persist gnuplot -persist
dplot: dplot:
echo 'set size square; \ echo 'set size ratio -1; \
plot "< sed /^\$\$/d drill.gp" with linespoints' | \\ plot "< sed /^\$\$/d drill.gp" with linespoints' | \\
gnuplot -persist gnuplot -persist