The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Programming Languages
> Python Programming
|
Visualize x,y,z data - GUI
Discuss Visualize x,y,z data - GUI in the Python Programming forum on Dev Shed. Visualize x,y,z data - GUI Python Programming forum discussing coding techniques, tips and tricks, and Zope related information. Python was designed from the ground up to be a completely object-oriented programming language.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

November 2nd, 2012, 07:22 AM
|
|
Registered User
|
|
Join Date: Nov 2012
Posts: 2
Time spent in forums: 41 m 34 sec
Reputation Power: 0
|
|
|
Visualize x,y,z data - GUI
Hello everybody,
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, 07:35 AM
|
 |
Commie Mutant Traitor
|
|
Join Date: Jun 2004
Location: Norcross, GA (again)
|
|
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 07:40 AM.
|

November 2nd, 2012, 09:53 AM
|
|
Registered User
|
|
Join Date: Nov 2012
Posts: 2
Time spent in forums: 41 m 34 sec
Reputation Power: 0
|
|
|
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, 05:12 PM
|
 |
Contributing User
|
|
|
|
|
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] Code tags[/code] are essential for python code!
|

November 3rd, 2012, 12:37 AM
|
|
Contributing User
|
|
Join Date: Nov 2012
Posts: 43
Time spent in forums: 15 h 59 m 28 sec
Reputation Power: 1
|
|
|
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!
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|