[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to convert mesh data in octave to Gnuplot data file
From: |
pauljoseph |
Subject: |
How to convert mesh data in octave to Gnuplot data file |
Date: |
Wed, 17 Sep 2008 20:42:21 -0700 (PDT) |
Hi,
is there a function in Octave to convert a matrix into block data to be plot
in gnuplot.
For example if I have a 3x3 matrix
z=
0 0 0
0 1 0
0 0 0
and rows means x and cols means y,
x=[1,2,3]
y=[1,2,3]
is there any function to convert to block data to be used gnuplot:
#x y z
1 1 0
1 2 0
1 3 0
2 1 0
2 2 1
2 3 0
3 1 0
3 2 0
3 3 0
I appreciate your help. Thanks.
--
View this message in context:
http://www.nabble.com/How-to-convert-mesh-data-in-octave-to-Gnuplot-data-file-tp19545393p19545393.html
Sent from the Octave - General mailing list archive at Nabble.com.
- How to convert mesh data in octave to Gnuplot data file,
pauljoseph <=