# Quiver arrows changes style when ploting plot as subplot

**URL:** <https://discourse.julialang.org/t/quiver-arrows-changes-style-when-ploting-plot-as-subplot/53681>\
**Category:** Visualization\
**Tags:** plotting\
**Created:** [January 20, 2021, 6:01pm UTC](https://discourse.julialang.org/t/quiver-arrows-changes-style-when-ploting-plot-as-subplot/53681 "2021-01-20T18:01:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Torkel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/torkel/32/5030_2.png) [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Post date:** [January 20, 2021, 6:01pm UTC](https://discourse.julialang.org/t/quiver-arrows-changes-style-when-ploting-plot-as-subplot/53681/1 "2021-01-20T18:01:33Z")

</div>

I want to create a couple of plots, and then compile them into a single figure. One of the subplots containing quiver arrows, and they behave weirdly when I do so. The code and figures should demonstrate quite well in this example:

```julia
using Plots

# Plots the quiver plot
qLx = 0.06; qLy = 0.04;; qW = 2;
(x,y)=(0.45,0.6); (d1,d2)=(1,-1); scatter!((x,y),color=:black,label=""); quiver([x,x],[y,y],quiver=([0.0,d1*qLy],[d2*qLx,0.0]),color=:black,size=(600,400),lw=qW)
(x,y)=(0.3,0.85); (d1,d2)=(-1,-1); scatter!((x,y),color=:black,label=""); quiver!([x,x],[y,y],quiver=([0.0,d1*qLy],[d2*qLx,0.0]),color=:black,size=(600,400),lw=qW)
(x,y)=(0.1,0.6); (d1,d2)=(1,-1); scatter!((x,y),color=:black,label=""); quiver!([x,x],[y,y],quiver=([0.0,d1*qLy],[d2*qLx,0.0]),color=:black,size=(600,400),lw=qW)
(x,y)=(0.8,0.4); (d1,d2)=(-1,1); scatter!((x,y),color=:black,label=""); quiver!([x,x],[y,y],quiver=([0.0,d1*qLy],[d2*qLx,0.0]),color=:black,size=(600,400),lw=qW)
(x,y)=(0.45,0.25); (d1,d2)=(1,1); scatter!((x,y),color=:black,label=""); quiver!([x,x],[y,y],quiver=([0.0,d1*qLy],[d2*qLx,0.0]),color=:black,size=(600,400),lw=qW)
(x,y)=(0.25,0.1); (d1,d2)=(-1,1); scatter!((x,y),color=:black,label=""); quiver!([x,x],[y,y],quiver=([0.0,d1*qLy],[d2*qLx,0.0]),color=:black,size=(600,400),lw=qW)
(x,y)=(0.1,0.0225); (d1,d2)=(1,1); scatter!((x,y),color=:black,label=""); p1 = quiver!([x,x],[y,y],quiver=([0.0,d1*qLy],[d2*qLx,0.0]),color=:black,size=(600,400),lw=qW)

```

![p1](https://global.discourse-cdn.com/julialang/original/3X/0/2/02f8735d7d5711056db8fb0ce3bf3e5851fb8aa2.png)

```julia
# Creates some other plot
p2 = plot(x->x^2)

```

![p2](https://global.discourse-cdn.com/julialang/original/3X/1/2/127b8b86a6d7518c460f74f43d6e78a64637b652.png)

```julia
# Plots them in the same plot
plot(p1,p2,size=(1200,400))

```

 ![p3](https://global.discourse-cdn.com/julialang/original/3X/9/5/952bd9e825d8cb3254049d832589e0452e60a917.png)

As you can see, the style of the arrows has changed when I plot the (already created) plot in a subplot. What happened? How do I get the arrows to look like in the first plot, but when plotted in a subplot?
