# Plot using remote server

**URL:** <https://discourse.julialang.org/t/plot-using-remote-server/82873>\
**Category:** New to Julia\
**Tags:** plot\
**Created:** [June 16, 2022, 1:27pm UTC](https://discourse.julialang.org/t/plot-using-remote-server/82873 "2022-06-16T13:27:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mahmoud](https://avatars.discourse-cdn.com/v4/letter/m/59ef9b/32.png) [@Mahmoud](https://discourse.julialang.org/u/Mahmoud)\
**Post date:** [June 16, 2022, 1:27pm UTC](https://discourse.julialang.org/t/plot-using-remote-server/82873/1 "2022-06-16T13:27:21Z")

</div>

I have a strange simple problem but very important for my reports  
when I try to generate an image using Super Computer server  
I got it with a cut at the axis (vertical and horizontal ) like this photo  
 ![0.1prob](https://global.discourse-cdn.com/julialang/original/3X/f/0/f016fc4e078e5b5ae1ba897ddaa94d041a511c0d.png)  
this is the code used

```julia
myimage = plot((dayss,[numberofhealthyy numberofinfectedd numberofrecoveredd numberofsickk]),
       color = [:blue :green :gold :red],
       label = ["Healthy" "Infected" "Recovered" "Sick"],
       xlabel="Days",
       ylabel="Population" )
       savefig(myimage, "0.1prob.png")

```

---

<div class="post-metadata">

**Author:** ![LeePhillips](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/leephillips/32/205514_2.png) [@LeePhillips](https://discourse.julialang.org/u/LeePhillips)\
**Post date:** [June 16, 2022, 4:02pm UTC](https://discourse.julialang.org/t/plot-using-remote-server/82873/2 "2022-06-16T16:02:50Z")

</div>

Try adding the keyword argument `left_margin=5mm` (adjust until you get what you want). You may have to add `using Measures` first. (I’m not sure this is the issue you’re calling attention to, though.)

---

<div class="post-metadata">

**Author:** ![jmair](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jmair/32/35117_2.png) [@jmair](https://discourse.julialang.org/u/jmair)\
**Post date:** [June 17, 2022, 7:20am UTC](https://discourse.julialang.org/t/plot-using-remote-server/82873/3 "2022-06-17T07:20:27Z")

</div>

I sometimes get this with GR (the default backend for Plots.jl). You can always try a different backend, such as pyplot by having the following in your file:

```julia
using Plots
pyplot()

```

This may ask you to install some additional dependencies.
