Contour

2008-01-27 9:07 am
I have bivariate data (x_i, y_i).
use MATLAB.
1. How to create contour plot for the data?
2. If I use R, how to creat contour plot?

Thank you!

回答 (1)

2008-01-27 1:50 pm
✔ 最佳答案
Follow this link to the documentation and example of the coutour command in Matlab.
You'd be expected to create an isoline matrix in order to do the contour plot. See the example in the link.



2008-01-28 05:13:55 補充:
Could you please post some sample data somewhere so I can look at what you actually have on hand?

2008-01-29 06:48:17 補充:
Sorry to bother you.I got the .xls file, but cannot open it with Excel 97.Could you convert it to an ASCII file, ";" delimited, or an Excel97 format .xls?Many thanks.

2008-01-30 12:43:25 補充:
Thank you for your data. I have only got x and y data. For contouring, we usually need the z-data. If you have an algorithm to convert x-y data to contouring, you could send me the reference.

2008-01-30 12:44:03 補充:
You can look at a scatter diagram produced from you data:http://i263.photobucket.com/albums/ii157/mathmate/bivariate.jpgAlso you can look at the following article:http://www.stat.tamu.edu/stat30x/notes/node35.html


收錄日期: 2021-04-13 15:02:50
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20080127000051KK00255

檢視 Wayback Machine 備份