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
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)





Community Treasure Hunt

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

Start Hunting!

Translated by