A subplot with a numerical value

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

Accedi per commentare.

Risposta accettata

Fangjun Jiang
Fangjun Jiang il 8 Giu 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]);

Più risposte (0)

Prodotti


Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by