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!