Hello,(adsbygoogle = window.adsbygoogle || []).push({});

I want to plot a curve with variables along the X & Y axis.

But I also want the plot to show multiple curves as a function of another third variable.

For example, if I'm plotting a curve of fruits vs. cost, I would get one curve.

But how to plot it for say, seven days of the week, thus showing seven curves in the same graph.

I would be doing this Matlab.

So if someone could guide me with the codes.

Hoping for a reply.

Thanks,

Prasad M. Rao.

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Plot two variables as a function of the third one

Loading...

Similar Threads - Plot variables function | Date |
---|---|

Plot function of 3 space variables plus time | Jul 26, 2017 |

Visualizing a 3-variable function in a 3D plot -- Wolfram Math | Feb 24, 2015 |

[Matlab] Plotting two functions of the same variable against each other | Nov 15, 2012 |

MATLAB Plot function of two variables on 2D Grid | Jun 17, 2011 |

Mathematica: plot and evaluate function of 2 variables | Oct 12, 2010 |

**Physics Forums - The Fusion of Science and Community**