a figure with only a numeric value

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

Why do you keep asking the same question again and again? Can’t you explain in a detailed manner in one question?
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

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 Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange

Products

Release

R2019b

Tags

Community Treasure Hunt

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

Start Hunting!