Gambit geometry creation: loading data to gambit
Hello,
I have a spreadsheet of x,y,z data and want to plot the points in gambit to create geometry. Since it's a lot of data it is not possible to input manually. Is there a way to load the data onto Gambit and make it plot? |
Re: Gambit geometry creation: loading data to gamb
yes, i would also like to know this if it is possible? How?
|
Re: Gambit geometry creation: loading data to gamb
You can import xyz type point data in Gambit from the menuy using File/Import/Vertex Data.
|
Re: Gambit geometry creation: loading data to gamb
What type of file it should be?
|
Re: Gambit geometry creation: loading data to gamb
you can write your jou file ,which can autorun in gambit, it is very easy to learn , just like this: vortex create... edge create...
|
Re: Gambit geometry creation: loading data to gamb
I have tried this once before and used and .dat file and works fine
|
Re: Gambit geometry creation: loading data to gamb
Dear Taher,
Can you please write the procedure in detail. Thanks in advance! |
Re: Gambit geometry creation: loading data to gamb
1. This is an example of how to import three columns - x,y z, vertex data. The first line must contain the number of points and the number of curves example: 1 129 for 1 curve and 129 points. open the file 2. get rid of all text 3. get rid of duplicate set of data 4. get rid of any blank line
5. Save this page as a text file in the C:\temp directory - "filename.txt" 6. Run GAMBIT (from the run command) 7. In GAMBIT - in the Command Text box enter import vertexdata "C:\temp\|filename.txt" 8. If all goes well you should see 129 points in the graphics window |
Re: Gambit geometry creation: loading data to gamb
Dear Taher,
Thanks for your explanation, I tried the same, but the got the following ERROR: Error reading number of points per curve and number of curves. ERROR(850) - UNTERMINATED STRING VALUE I took care of no text, no duplicate data and no blank line in my .txt file. I just have 1 in the first line and 129 in the second line where did i do mistake.....please let me know. Thanks and Regards - mp |
Re: Gambit geometry creation: loading data to gamb
your text file should look something like this- the first error is because 1 and 129 are both on the first line with a space inbetween.
For example: ----------------- 1 5 0.0 1.0 0 0.1 1.1 0 0.2 1.2 0 0.3 1.3 0 0.4 1.4 0 ---------------- |
Quote:
|
All times are GMT -4. The time now is 12:01. |