Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Saving to an ascii file

Status
Not open for further replies.

MaskariJuma

Civil/Environmental
Apr 21, 2004
4
Hello,

Can someone help?

I have 3 matrix of the same size 150x192

I have ploted them using :

contour(matrix1,matrix2,matrixZ)

Is there away to save the output as an ascii file?

Thanks
 
Replies continue below

Recommended for you

Type "help save" at the command prompt.

M

--
Dr Michael F Platten
 
Thanks,

I tried : save newfile matrix1 matrix2 matrix3 -ascii

the output (newfile) is a 450x192 which is not what I am after. I want the new matrix to saved as 150x192 same as it was displayed using:

contour(matrix1,matrix2,matrixZ)

Where matrix1 and matrix2 are actually the x and y data

Or there is something that I did not understand?
 
You want to save the figure? as an ASCII file?

M

--
Dr Michael F Platten
 
Michael,

Yes, but how do I save the figure as an ASCII?

Juma
 
sorry, maybe the right word

is to save the output of the figure as an ASCII file

or if not, convert the figure to ASCII

Thanks,

Juma
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor