--Alt-Boundary-22283.27789949
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Content-description: Mail message body
Am 20 Mar 2006 um 10:41 hat johan.ekh at se.abb.com geschrieben:
>
>
> Hello everybody,
> I'm new to this list and I have a simple question regarding plotting.
>
> How can I plot parametric 3D curves in Maxima (using gnuplot)?
>
> For instance, I'm interested in plotting a Helix using the arclength "s" as the parameter.
>
> Best regards,
> Johan
>
Hello Johan,
for 3d parametric functions you have to use gnuplot instead of Maxima (or am I
wrong?).
Try this, perhaps you like it.
First some preambles. Nice, but not necessary:
gnuplot> set size ratio -1
gnuplot> set ticslevel 0
gnuplot> set grid
gnuplot> set xtics 0.5
gnuplot> set ytics 0.5
Now we plot:
gnuplot> set parametric
dummy variable is t for curves, u/v for surfaces
gnuplot> splot [t=0:6*pi] cos(t),sin(t),t
Hope that helps.
Volker van Nek
--Alt-Boundary-22283.27789949
Content-type: text/html; charset=US-ASCII
Content-transfer-encoding: 7BIT
Content-description: Mail message body
<?xml version="1.0" ?><html>
<head>
<title></title>
</head>
<body>
<div align="left"><font face="Arial"><span style="font-size:10pt">Am 20 Mar 2006 um 10:41 hat johan.ekh at se.abb.com geschrieben:</span></font></div>
<div align="left"><br/>
</div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> </span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> </span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> Hello everybody, </span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> I'm new to this list and I have a simple question regarding plotting. </span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> </span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> How can I plot parametric 3D curves in Maxima (using gnuplot)? </span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> </span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> For instance, I'm interested in plotting a Helix using the arclength "s" as
the parameter. </span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> </span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> Best regards, </span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> Johan </span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> </span></font></div>
<div align="left"><br/>
</div>
<div align="left"><br/>
</div>
<div align="left"><br/></div>
<div align="left"><font face="Arial"><span style="font-size:10pt">Hello Johan,</span></font></div>
<div align="left"><br/>
</div>
<div align="left"><font face="Arial"><span style="font-size:10pt">for 3d parametric functions you have to use gnuplot instead of Maxima (or am I
wrong?).</span></font></div>
<div align="left"><br/>
</div>
<div align="left"><font face="Arial"><span style="font-size:10pt">Try this, perhaps you like it.</span></font></div>
<div align="left"><br/>
</div>
<div align="left"><font face="Arial"><span style="font-size:10pt">First some preambles. Nice, but not necessary:</span></font></div>
<div align="left"><font face="Arial"><span style="font-size:10pt">gnuplot> set size ratio -1</span></font></div>
<div align="left"><font face="Arial"><span style="font-size:10pt">gnuplot> set ticslevel 0</span></font></div>
<div align="left"><font face="Arial"><span style="font-size:10pt">gnuplot> set grid</span></font></div>
<div align="left"><font face="Arial"><span style="font-size:10pt">gnuplot> set xtics 0.5</span></font></div>
<div align="left"><font face="Arial"><span style="font-size:10pt">gnuplot> set ytics 0.5</span></font></div>
<div align="left"><br/>
</div>
<div align="left"><font face="Arial"><span style="font-size:10pt">Now we plot:</span></font></div>
<div align="left"><font face="Arial"><span style="font-size:10pt">gnuplot> set parametric</span></font></div>
<div align="left"><br/>
</div>
<div align="left"><font face="Arial"><span style="font-size:10pt">        dummy variable is t for curves, u/v for surfaces</span></font></div>
<div align="left"><font face="Arial"><span style="font-size:10pt">gnuplot> splot [t=0:6*pi] cos(t),sin(t),t</span></font></div>
<div align="left"><br/>
</div>
<div align="left"><font face="Arial"><span style="font-size:10pt">Hope that helps.</span></font></div>
<div align="left"><br/>
</div>
<div align="left"><font face="Arial"><span style="font-size:10pt">Volker van Nek</span></font></div>
<div align="left"></div>
</body>
</html>
--Alt-Boundary-22283.27789949--