# Using Plots storing as pdf,but the graph has changed

**URL:** https://discourse.julialang.org/t/using-plots-storing-as-pdf-but-the-graph-has-changed/91762
**Category:** General Usage
**Tags:** question, plots
**Created:** [December 17, 2022, 4:25am UTC](https://discourse.julialang.org/t/using-plots-storing-as-pdf-but-the-graph-has-changed/91762 "2022-12-17T04:25:10Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![zhangchunyong](https://avatars.discourse-cdn.com/v4/letter/z/d9b06d/32.png) [@zhangchunyong](https://discourse.julialang.org/u/zhangchunyong)
#### Post date: [December 17, 2022, 4:25am UTC](https://discourse.julialang.org/t/using-plots-storing-as-pdf-but-the-graph-has-changed/91762/1 "2022-12-17T04:25:11Z")

</div>

```julia
using DataFrames,Plots
d1=DataFrame(x=[-0.3,-0.5,-0.1,0.8,0.2,-0.15,-0.2,0.5,0.9,-0.03],y=[0.8,0.9,1,2,3,4,5,6,7,8])
p=Plots.plot(d1[:,:x],d1[:,:y],
               seriestype=:scatter,markersize = 4,
               xlabel="Delta EpiMut Rate", ylabel="-log10 Pval",legend=:outertopright,
               grid=false,fontfamily="Helvetica")

```

 ![image](https://global.discourse-cdn.com/julialang/original/3X/a/2/a297a6f257471502fb4e1bcad63d0b09a4979eb9.png)  
It seems OK.But when store as pdf,like the following

```julia
savefig(p,"1.pdf")

```

When i opened the pdf,it was just like this.Something wrong with ?0.4,it should be -0.4.

 ![image](https://global.discourse-cdn.com/julialang/original/3X/f/8/f831aa34bc2de6979afed987070408f9add686a0.png)  
What should I do to solve the problem?

---

<div class="post-metadata">

### Author: ![rafael.guerra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafael.guerra/32/216610_2.png) [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)
#### Post date: [December 17, 2022, 6:11am UTC](https://discourse.julialang.org/t/using-plots-storing-as-pdf-but-the-graph-has-changed/91762/2 "2022-12-17T06:11:05Z")

</div>

Linking [related post](https://discourse.julialang.org/t/saving-to-pdf-using-palatino-roman-doesnt-show-negative-signs-with-plots-jl/64003).
