a figure with only a numeric value

4 vues (au cours des 30 derniers jours)
Ahmed Abdulla
Ahmed Abdulla le 8 Juin 2020
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 commentaires
madhan ravi
madhan ravi le 8 Juin 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 le 8 Juin 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

Connectez-vous pour commenter.

Réponse acceptée

per isakson
per isakson le 8 Juin 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);

Plus de réponses (0)

Catégories

En savoir plus sur Line Plots dans Help Center et File Exchange

Tags

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by