3
$\begingroup$

Is it possible to resize a graph in a post? For example, I wanted to resize this one, because the original size looks much better. enter image description here

$\endgroup$
  • 2
    $\begingroup$ I am not really sure why this question is tagged (bug). $\endgroup$ – Martin Sleziak Mar 11 at 6:52
6
$\begingroup$

You can also use standard image html, of the form <img src="image/source.png" width="image_width" height="image_height">, except with the quoted constants filled in appropriately.

For example, I've included a manually resized version of your graph.

<img src="https://i.stack.imgur.com/jrHvg.png" width="450" height="300">

$\endgroup$
  • 2
    $\begingroup$ I have edited your answer to show the actual code used for the example in your post. (Since users who are relatively new might not know how to display source of the code.) I hope the edit is ok - feel free to revert it if you prefer the original version. $\endgroup$ – Martin Sleziak Mar 11 at 6:54
  • 5
    $\begingroup$ Note that it's also possible to use width only or height only to preserve the aspect ratio. $\endgroup$ – Andrew T. Mar 11 at 10:55

You must log in to answer this question.