a figure with only a numeric value

1 view (last 30 days)
I want to find the correlation between two data sets and just have a figure without any points or anything it just displays the correlation value. This might seem odd by itself but its part of a bigger picture for me
  2 Comments
madhan ravi
madhan ravi on 8 Jun 2020
Why do you keep asking the same question again and again? Can’t you explain in a detailed manner in one question?
Ahmed Abdulla
Ahmed Abdulla on 8 Jun 2020
i just want to display a value in a figure. So the figure will be a box just containing for example 0.82. Without any scale or lines it just displays a value.
Sorry for asking more than once, i thought this might be a clearer way

Sign in to comment.

Accepted Answer

per isakson
per isakson on 8 Jun 2020
Is this close to what you are asking for?
lh = plot( 0.5, 0.82, 'd' );
ah = lh.Parent;
ah.XTickLabels = cell(1,1);
ah.YTickLabels = cell(1,1);

More Answers (0)

Categories

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

Tags

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!