# Controlling size of Gadfly plots with hstack and vstack

**URL:** <https://discourse.julialang.org/t/controlling-size-of-gadfly-plots-with-hstack-and-vstack/59425>\
**Category:** New to Julia\
**Tags:** question, plotting, gadfly, vscode\
**Created:** [April 16, 2021, 5:08pm UTC](https://discourse.julialang.org/t/controlling-size-of-gadfly-plots-with-hstack-and-vstack/59425 "2021-04-16T17:08:33Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Mattriks](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mattriks/32/351_2.png) [@Mattriks](https://discourse.julialang.org/u/Mattriks)\
**Post date:** [April 16, 2021, 11:42pm UTC](https://discourse.julialang.org/t/controlling-size-of-gadfly-plots-with-hstack-and-vstack/59425/5 "2021-04-16T23:42:54Z")

</div>

I’m unsure what vscode does to the plot size, if the plot size is \> window size. `Gadfly.set_default_plot_size` definitely works e.g. in Jupyter, or when saving the figure. You might be able to get [this suggestion](https://discourse.julialang.org/t/can-i-choose-display-software/29510/3) to work in vscode, but I’ve not tested it in vscode (you might have to `popdisplay()` first, which would move Gadfly’s display to the top of the display stack).

Also see [similiar post here](https://discourse.julialang.org/t/plots-figure-size/37969).

---

_[View the full topic](https://discourse.julialang.org/t/controlling-size-of-gadfly-plots-with-hstack-and-vstack/59425)._
