a figure with only a numeric value

4 visualizzazioni (ultimi 30 giorni)
Ahmed Abdulla
Ahmed Abdulla il 8 Giu 2020
Risposto: per isakson il 8 Giu 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 Commenti
madhan ravi
madhan ravi il 8 Giu 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 il 8 Giu 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

Accedi per commentare.

Risposta accettata

per isakson
per isakson il 8 Giu 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);

Più risposte (0)

Categorie

Scopri di più su Line Plots in Help Center e File Exchange

Prodotti


Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by