<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
There's nothing built-in. However you can modify the standard arrow
through inheritance, like this:<br>
<br>
from __future__ import division<br>
from visual import *<br>
<br>
class arrow2D(arrow):<br>
def __init__(self, pos=(0,0,0), axis=(1,0,0), color=color.white):<br>
arrow.__init__(self, pos=pos, axis=(axis[0],axis[1],0),
color=color)<br>
<br>
arrow2D(pos=(0,0,0), axis=(3,4,2), color=color.red)<br>
arrow2D(pos=(3,4,2), axis=(5,-2,4), color=color.cyan)<br>
<br>
Bruce Sherwood<br>
<br>
Jess Kondor wrote:
<blockquote
cite="mid:1d9...@ma..."
type="cite"><br>
Dear all,<br>
<br>
I am new in Vpython. I have a script that plots 3d vectors. By
default, it shows a plot in perspective 3D view. Is there a way to set
a display that will show my plot in plane projection?<br>
<br>
thanks,<br>
jess<br>
<pre wrap="">
<hr size="4" width="90%">
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
<a class="moz-txt-link-freetext" href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</a></pre>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Visualpython-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Vis...@li...">Vis...@li...</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/visualpython-users">https://lists.sourceforge.net/lists/listinfo/visualpython-users</a>
</pre>
</blockquote>
</body>
</html>
|