Hi, I've plotted two functions in one plot, in which each function is plotted based on different amount of "p" , i.e. there are 6 numbers for "p", for each function, and I have 12 curves in a plot. The point is my functions are "y1=f(x)" and "y2=-f(x)" , and every pair of functions ( y1, y2) has the same p. Is there a way that I can introduce each pair of curves with one "p" in legend? And those pair which has the same p, plot with the same color? Thank you in advance
MATLAB: How to put legend for some of the curves
legendMATLAB
Related Question
- Plot points in xy-plane with different colours
- Needs derivative w.r.t. ‘ y ‘ & then graph w.r.t ‘ t ‘
- Scatter Diagram with colorbar
- How to find the values of 2 variables that will make the matrix rank 6
- Create Plot Title of the Plotted Function
- Using a for loop for legend plots
- How can we plot a 256-bit array at a particular value on x-axis
- Hi guys. How to have display a color from RGB coordinates
Best Answer