# Create individual plot and save as pdf

**URL:** https://discourse.julialang.org/t/create-individual-plot-and-save-as-pdf/76458
**Category:** New to Julia
**Tags:** plots, gr, pdf-format
**Created:** [February 14, 2022, 8:51pm UTC](https://discourse.julialang.org/t/create-individual-plot-and-save-as-pdf/76458 "2022-02-14T20:51:16Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![photor](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/photor/32/14343_2.png) [@photor](https://discourse.julialang.org/u/photor)
#### Post date: [February 15, 2022, 10:28am UTC](https://discourse.julialang.org/t/create-individual-plot-and-save-as-pdf/76458/6 "2022-02-15T10:28:24Z")

</div>

I encountered the following error using your code (GR version: 0.63.1):

```julia
SystemError: opening file "C:\\Users\\ytian\\AppData\\Local\\Temp\\jl_SbuQV4fEbT.svg": No such file or directory

Stacktrace:
  [1] systemerror(p::String, errno::Int32; extrainfo::Nothing)
    @ Base .\error.jl:168
  [2] #systemerror#62
    @ .\error.jl:167 [inlined]
  [3] systemerror
    @ .\error.jl:167 [inlined]
  [4] open(fname::String; lock::Bool, read::Bool, write::Nothing, create::Nothing, truncate::Nothing, append::Nothing)
    @ Base .\iostream.jl:293
  [5] open(fname::String, mode::String; lock::Bool)
    @ Base .\iostream.jl:355
  [6] open
    @ .\iostream.jl:355 [inlined]
  [7] _readfile(path::String)
    @ GR C:\Users\ytian\.julia\packages\GR\KPElO\src\GR.jl:3710
  [8] show()
    @ GR C:\Users\ytian\.julia\packages\GR\KPElO\src\GR.jl:3768
  [9] plot_data(flag::Bool)
    @ GR.jlgr C:\Users\ytian\.julia\packages\GR\KPElO\src\jlgr.jl:1553
 [10] plot_data
    @ C:\Users\ytian\.julia\packages\GR\KPElO\src\jlgr.jl:1198 [inlined]
 [11] plot(args::Matrix{Float64}; kv::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ GR.jlgr C:\Users\ytian\.julia\packages\GR\KPElO\src\jlgr.jl:1763
 [12] plot
    @ C:\Users\ytian\.julia\packages\GR\KPElO\src\jlgr.jl:1755 [inlined]
 [13] top-level scope
    @ .\In[2]:4
 [14] eval
    @ .\boot.jl:360 [inlined]
 [15] include_string(mapexpr::typeof(REPL.softscope), mod::Module, code::String, filename::String)
    @ Base .\loading.jl:1116

```

---

_[View the full topic](https://discourse.julialang.org/t/create-individual-plot-and-save-as-pdf/76458)._
