Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • 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
Joined
Apr 21, 2004
Messages
4
Location
GB
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
 
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

Back
Top