View Full Version : how to plot two vector?

03-11-2004, 10:48 AM
I am working on the protein surface modeling.
for a protein with 400 residues, I construct 400 vectors, I want to plot these vector out, Does anybody know how to do this?
Aimin Yan

03-11-2004, 03:38 PM
A simple way would be to just draw three lines(GL_LINES) and adjust the line thickness, or you can create a simple model for a vector and draw/rotate that. The more interesting question is where do you plot them so it makes sense for whatever you are trying to achieve.

BTW, have you looked at vpython?http://vpython.org/