Data Plotting in a Single Figure
조회 수: 1 (최근 30일)
이전 댓글 표시
Dear all,
I want to plot a single figure including four variable.
I have a data as atteched file
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/582781/image.png)
I want to plot a figure including above variable, Here U=time, V= input, X= output and Y= efficiancy
댓글 수: 0
채택된 답변
madhan ravi
2021년 4월 14일
U = setdiff(10 : 10: 100, 80 : 10 : 90);
V = 1e2 : 50 : 450;
X = sort(randi(400, size(U)));
Y = sort(randi(98, size(U))) .* rand(size(U));
scatter3(V, X, Y,[], U, 'filled')
colorbar
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Line Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!