A subplot with a numerical value

4 vues (au cours des 30 derniers jours)
Ahmed Abdulla
Ahmed Abdulla le 8 Juin 2020
Ive seen the following figure and i wanted to ask if it was possible to have a subplot with only a value like half of the figure. I was able to generate the scatter plots easily but i struggled to generate subplots with just a numerical value
  2 commentaires
madhan ravi
madhan ravi le 8 Juin 2020
Example ?
Ahmed Abdulla
Ahmed Abdulla le 8 Juin 2020
As shown in the figure by the numbers in red and green, the subplot only contains the numerical value. Thats what im aiming to get

Connectez-vous pour commenter.

Réponse acceptée

Fangjun Jiang
Fangjun Jiang le 8 Juin 2020
s=subplot(3,3,9);
set(s.XAxis,'visible','off');
set(s.YAxis,'visible','off');
t=text(0.5,0.5,num2str(1.2),'color',[1 0 0]);

Plus de réponses (0)

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by