by which command a figure of 3 parametrs can be obtain

1 view (last 30 days)
I have 3 parameters.time,height and temperature.I want to get a 2D figure having time on x-axis height on y-axis and temperature in between x and y axis.noted that in my case Temperature depends on time and height.

Accepted Answer

Walter Roberson
Walter Roberson on 19 Jan 2017
Depending on what form your data takes:
plot3(time, height, temperature)
or possibly
surf(time, height, temperature, 'edgecolor', 'none')
or possibly
F = TriScatteredInterp(time, height, temperature);
[X,Y] = ndgrid(time, height);
Z = F(X,Y);
surf(X, Y, Z, 'edgecolor', 'none')

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!