# GraphPlot: how to control the output plot size in Juno's Plots pane?

**URL:** <https://discourse.julialang.org/t/graphplot-how-to-control-the-output-plot-size-in-junos-plots-pane/28494>\
**Category:** General Usage\
**Tags:** plotting\
**Created:** [September 7, 2019, 5:04am UTC](https://discourse.julialang.org/t/graphplot-how-to-control-the-output-plot-size-in-junos-plots-pane/28494 "2019-09-07T05:04:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anselm\_Jeong](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/anselm_jeong/32/7869_2.png) [@Anselm\_Jeong](https://discourse.julialang.org/u/Anselm_Jeong)\
**Post date:** [September 7, 2019, 5:04am UTC](https://discourse.julialang.org/t/graphplot-how-to-control-the-output-plot-size-in-junos-plots-pane/28494/1 "2019-09-07T05:04:19Z")

</div>

Dear all,  
I’ve been using GraphPlot in Juno IDE environment (add-on on ATOM).

The output from `gplot()` command in Plots pane in Juno is so small so that it is hard to identify node or edge labels.  
Unlike ordinary output from `plot()` command, zoom in or zoom out options are disabled.  
I cannot find any arguments in `gplot()` to control the overall size of the output plot. Does someone know how?

```julia
g = graphfamous("karate")
gplot(g)

```

 ![image](https://global.discourse-cdn.com/julialang/original/3X/e/7/e797c149ff33717aeb121325138b39da725e6f54.png)

Is this problem related with GR backend only? I’m curious since I haven’t used other backends…  
Thanks in advance…

---

<div class="post-metadata">

**Author:** ![milesf](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/milesf/32/9289_2.png) [@milesf](https://discourse.julialang.org/u/milesf)\
**Post date:** [September 8, 2019, 11:02pm UTC](https://discourse.julialang.org/t/graphplot-how-to-control-the-output-plot-size-in-junos-plots-pane/28494/2 "2019-09-08T23:02:27Z")

</div>

Confirmed that it seems like zooming won’t work for `gplot` in Juno.

Best workaround I found for this is to plot to your browser as SVG with Gadfly. That requires the following steps:

1. **Disable plotting to Juno plot pane:**

```julia
Julia > Settings... > uncheck “Enable Plot Pane”

```

1. **Plot to Gadfly:**

```julia
using GraphPlot
using Gadfly
g = graphfamous("karate")
gplot(g)

```

This launches the plot in your zoomable web browser.

**Bonus Tip:**

If you want the plot to fill the screen, you can use your browser tools to inspect the SVG element and manually delete the `width=141.42mm` and `height=“100mm” properties. There might be ways to do this automatically in Gadfly, but I haven’t dug that deep. Note that this tweak disables any further zooming in or out, since the SVG will automatically resize to fill the screen. It will also expand to fill the horizontal width, so zoom depth will be greatest with your monitor in landscape orientation (rather than portrait).

 ![image](https://global.discourse-cdn.com/julialang/original/3X/3/5/354655e9acd9f9dcff3be112adc817558cd9c071.png)

 ![image](https://global.discourse-cdn.com/julialang/original/3X/6/8/6832942db8beb16387a875ecb928e23a4b5e0fde.png)
