How to plot 4D graph either in python or matlab?

612 views Asked by At

I have two functions f and g. Both are dependent on three variables being x, y and z. The functions and boundaries of x, y and z are provided as follows:

x = 150:5:250;
y = 0.2:0.05:0.3;
z = 1:0.1:2;
f = 20./(x.^0.2) .* (y.^0.3) .* (z.^0.01);
g = x .* y .* z

How can both of the functions be plotted in one graph?

0

There are 0 answers