How to plot two variables on same graph in matlab with mean and extreme values?

3 views (last 30 days)

I have to plot two variables in the same plot with mean extreme values. The variables and values are below:

x = [0.8354 1.6835 2.5351]

y = [0.7226 1.4629 2.2032]

I am attaching a reference image along with the question.

Answers (1)

Walter Roberson
Walter Roberson on 26 Dec 2017
boxplot()?
  2 Comments
Abhinav
Abhinav on 26 Dec 2017
Actually boxplot also displays the interquartile range too. I don't want that in plot. I need a plot similar to boxplot.
Walter Roberson
Walter Roberson on 26 Dec 2017
I know that in the past it has been possible to delete the quartile graphic objects after drawing the box plot, but I have not looked at how boxplot are drawn these days.

Sign in to comment.

Categories

Find more on Graphics Object Properties in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!