MATLAB Answers

Data Plotting in a Single Figure

4 views (last 30 days)
Dear all,
I want to plot a single figure including four variable.
I have a data as atteched file
I want to plot a figure including above variable, Here U=time, V= input, X= output and Y= efficiancy

Accepted Answer

madhan ravi
madhan ravi on 14 Apr 2021
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

More Answers (0)

Categories

Products


Release

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!