how to make the edge of the graph bold ?

73 views (last 30 days)
how to make the edge of the graph bold as shown below:

Accepted Answer

Star Strider
Star Strider on 21 Jun 2020
Unfortunately, nothing is shown.
Guessing what you may want, try this:
x = 1:10;
y = rand(size(x));
figure
plot(x, y)
grid
title('Default Box Linewidth (0.5)')
figure
plot(x, y)
grid
set(gca, 'LineWidth', 1.5)
title('Redefined Box Linewidth (1.5)')
producing (only showing the second plot here):
See the documentation on Axis Properties, and specifically Box Styling for details.
  14 Comments
Star Strider
Star Strider on 21 Jun 2020
The person whose Answer you Accepted copied my Answer. Ther is no need for me to re-post it.
When I saw iyour other Question: how to make label y axis specific? I Answered it.
ibrahim alzoubi
ibrahim alzoubi on 22 Jun 2020
chill! I didn't see your comment I said. trust me I'll accept it if I saw it.

Sign in to comment.

More Answers (0)

Categories

Find more on Specifying Target for Graphics Output in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!