William Stein wrote:
> On Thu, Aug 13, 2009 at 6:04 PM, Greg<[email protected]> wrote:
>> Hi, I have a file that I would like to be able to make into a contour
>> plot. This data is in a file.  Functions such as "contour_plot"
>> require a function which I do not have. The only method I have found
>> online uses pylab and saves the imagine directly to file. This is
>> tedious and I would like someway to just have the contour plot 'pop'
>> up in a new window (this is exactly what using contour_plot results in
>> so it should be possible).
> 
> You could make a matrix from the data in the file, then use matrix_plot.
> 


You might look at the numpy loadtxt function:

http://docs.scipy.org/doc/numpy/reference/generated/numpy.loadtxt.html

Depending on the format of the file, this may be easiest way to load it.

Thanks,

Jason


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to