[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: OctaveFEMM 3D Plot
From: |
Robert A. Macy |
Subject: |
Re: OctaveFEMM 3D Plot |
Date: |
Thu, 22 Jun 2006 20:49:24 -0700 |
I don't quite understand all that's in your file, but I'm
going to assume you stored some Bfield data plotte as
values along a line, then stepped, and plotted the line
again by appending your data
So waht you have is a column vector of, say, 150 points
followed by 150 more points and so on. you'd like to see
what the 2d would look like if you reformed all these into
a matrisx that has 150 rows by x number of data points you
did.
There is a function called reshape() that will convert a
very tall column into a matrix.
>> help reshape;
- Robert -
On Thu, 22 Jun 2006 20:03:07 -0700 (PDT)
Senthil Ram <address@hidden> wrote:
> HI All,
>
> I had now exported the two set of data file from the
> analysis. Now I wanted to plot the data in a 3D Plot. .
>
> I find it that while exporting the data into a file,
> all the data were in a single line from OCTAVE FEMM.
>
> How to align these data in the next line
>
> I use the 'fopen' and 'fscan' to read and get the data
> from the file and store in the array i create.
>
> Now to get a 3D surface plot how should I do the
> syntax.
>
> PS I do store some other information like calculated
> value date and time of analysis file name etc.,
> irrespective of these how to import the data from the
> file
>
>
> With Warm Regards
> N.D.Senthil Ram
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> #49, Villianur Road, Murungapakkam,Pondicherry 605 004,
> INDIA
> Mobile: 00 91 98941 40915, Telephone: 00 91 413 2353696