MATLAB Answers

A subplot with a numerical value

1 view (last 30 days)
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 Comments

Ahmed Abdulla
Ahmed Abdulla on 8 Jun 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

Sign in to comment.

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 8 Jun 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]);

  0 Comments

Sign in to comment.

More Answers (0)

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!