Guru's needed - 3-D plotting
古いコメントを表示
Hi, I am new to Matlab and am trying to do a 3-D plot of an optimization report that I use to analyze trading strategies. The optimization report will have several things that I would want to plot but essentially I would like to plot Parameter1 on the X axis, Parameter2 on the Y axis and the corresponding net profit from parameter1 and parameter2 on the Z axis.
I have the optimization report in Excel in the format shown below. Whenever I attempt to choose 3 columns and make that a variable to plot, it seems to be leaving out a parameter value and plotting the test number (ie test 1, test 2 etc). This obviously distorts the 3-D graph making it meaningless. Has anyone ever run into this problem and if so, can you give me some insights into the correct way to assign the data to the correct axis? Many Thanks!
I will attach a screenshot of my spreadsheet.

4 件のコメント
Image Analyst
2014 年 9 月 5 日
Can you edit and attach "the optimization report"?
Star Strider
2014 年 9 月 5 日
The screencap won’t help. We need an excerpt of the actual file (or the entire file if it’s not huge) as an attachment. If the problem is with using xlsread or a similar function, we can’t do that with a screencap.
Also, including the code excerpt you’re using to read and plot your data would help.
Image Analyst
2014 年 9 月 5 日
Right, because all I see are parameter values, not test numbers . I don't see at all the "test number (ie test 1, test 2 etc)" that you referred to, leading me to think there are columns or cells left out of your screen capture. Make it EASY for us to help you, not hard! Think along the lines of "What do I need to provide these people for them to reproduce my problem and fix it" http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer
Jeremy
2014 年 9 月 7 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Language Fundamentals についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!