November 2nd, 2012, 08:22 AM
Visualize x,y,z data - GUI
Is there any possible way to visualise x,y, z data in any GUI from Python?
I have this data on a txt file and in tif files. Its bathymetric data.. I just want the simple way to do this because i´m really new in python.
I need to visualise several bathymetric maps.. and extract information from the maps..
How can i do this? Any ideas?
November 2nd, 2012, 08:35 AM
While I haven't used it myself, I understand that MatPlotLib has several tools for this sort of thing, and easy to use. While it is mostly for 2D imaging, it does have the mplot3d module, which can generate three dimensional plots.
If you need something more powerful, you can try Mayavi, though I understand that it can be a pain to install.
Last edited by Schol-R-LEA; November 2nd, 2012 at 08:40 AM.
November 2nd, 2012, 10:53 AM
Matplotlib could be a solution. I didn't explain everything. My txt file was obtained trough the conversion from one raster to an ascii file. So this txt don't have the typical 3 columns x,y,z. I think this is the main problem. it´s geospatial data.
I have Mayavi installed. Its working properly but it requires that the data should be in a vtk format. i have no idea on how to convert it.
Thank you for your help.
November 2nd, 2012, 06:12 PM
You could look for a program that already converts the data types, or you could look for manuals that explain each data type and do the conversion yourself---sometimes this is painful, or there may be libraries that read and write each format to a common middle ground.
[/code] are essential for python code and Makefiles!
November 3rd, 2012, 01:37 AM
I have used matplotlib successfully to make graphs and charts and I think something like this is what you want. I have never tried it to make terrain or bathymetric graphs but it does appear to have those functions. I suggest you look into it, nothing ventured nothing gained!