Plotting graph with three variables

2 visualizaciones (últimos 30 días)
Muhammad Asad
Muhammad Asad el 1 de Sept. de 2022
Comentada: Muhammad Asad el 1 de Sept. de 2022
I want to draw a draw of a variable is in equation like
C(x,y)= ...... .
In this C is a variable and have 2 inputs with varying values.
I want to draw a graph between C and y. C is at y-axis or verticle axis and x is at x-axis or horizontal axis. But the curve like circle or elipticle on graph gives the value of y.
C value is claulated after submitting the different vlaues of x and y.
Assume x vary from 2, 4, 6, 8 and y = 3, 5, 7, 9. Now calculating C and draw graph. I am puzzled what to do?

Respuestas (1)

Simon Chan
Simon Chan el 1 de Sept. de 2022
Try to use function plot3 or scatter3
  1 comentario
Muhammad Asad
Muhammad Asad el 1 de Sept. de 2022
ok i will try and share it with you if successful.

Iniciar sesión para comentar.

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by