Plotting graph with three variables

조회 수: 2 (최근 30일)
Muhammad Asad
Muhammad Asad 2022년 9월 1일
댓글: Muhammad Asad 2022년 9월 1일
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?

답변 (1개)

Simon Chan
Simon Chan 2022년 9월 1일
Try to use function plot3 or scatter3
  댓글 수: 1
Muhammad Asad
Muhammad Asad 2022년 9월 1일
ok i will try and share it with you if successful.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by