Ask Your Question

Revision history [back]

Hello,

First you have to load the matrix into sage. It really depends on how did you save the values. To open a file you use the function open from Python.

Secondly, given a matrix, I am not sure there is a ready made solution inside Sage. But you might use point3d. I would think that the best solution is to use directly matplotlib (which is what Sage uses in background). You can have a look at this matplotlib examples.

Vincent

Hello,

First you have to load the matrix into sage. It really depends on how did you save the values. To open a file you use the function open from Python.

Secondly, given a matrix, I am not sure there is a ready made solution inside Sage. But you might use point3d. I would think that the best solution is to use directly matplotlib (which is what Sage uses in background). You can have a look at this these matplotlib examples.

Vincent