# Changes in the Plots/GraphRecipes packages?

**URL:** https://discourse.julialang.org/t/changes-in-the-plots-graphrecipes-packages/42246
**Category:** General Usage
**Created:** [June 29, 2020, 12:50pm UTC](https://discourse.julialang.org/t/changes-in-the-plots-graphrecipes-packages/42246 "2020-06-29T12:50:06Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Valentine\_GRAND](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/valentine_grand/32/11278_2.png) [@Valentine\_GRAND](https://discourse.julialang.org/u/Valentine_GRAND)
#### Post date: [June 29, 2020, 12:50pm UTC](https://discourse.julialang.org/t/changes-in-the-plots-graphrecipes-packages/42246/1 "2020-06-29T12:50:06Z")

</div>

Hello everyone,

In the documentation of Plot/GraphRecipes ([http://docs.juliaplots.org/latest/graphrecipes/examples/#graph\_examples-1](http://docs.juliaplots.org/latest/graphrecipes/examples/#graph_examples-1)) you can find this example:

> using GraphRecipes, Plots  
> g = [0 1 1;  
> 0 0 1;  
> 0 1 0]

> graphplot(g, names=1:3, curvature\_scalar=0.1)

Which is supposed to give this :  
 ![image](https://global.discourse-cdn.com/julialang/original/3X/2/7/2781162d44e7a6ee20e23c390aed86ddebf1ce5f.png)

But when I run this code on my REPL I have only lines and not arrows and the names of the nodes are not displayed either.  
Do you know why? Have there been any changes in the GraphRecipes package?

Thank you in advance for your answer ,

Valentine

---

<div class="post-metadata">

### Author: ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)
#### Post date: [June 29, 2020, 1:12pm UTC](https://discourse.julialang.org/t/changes-in-the-plots-graphrecipes-packages/42246/2 "2020-06-29T13:12:06Z")

</div>

`graphplot(g, names=1:3, curvature_scalar=0.1, arrow=0.4)`  
is doing the trick for me:  
 ![grafik](https://global.discourse-cdn.com/julialang/original/3X/4/1/418780e35724fe3775806e6e757fe17640c1474e.png)

But I didn’t found a good starting point for reading some documentation, but I found it here:

> <https://github.com/JuliaPlots/Plots.jl/issues/245>
>
> I started to support native drawing of arrows. Create arrows similar to text, e…tc:
> 
> \`\`\` julia
> \# these are the same
> plot(y, arrow = arrow())
> plot(y, arrow = true)
> plot(y, line = arrow())
> plot(y, line = :arrow)
> 
> \# these all set head length/width to 0.4
> plot(y, arrow = 0.4)
> plot(y, arrow = (0.4,0.4))
> plot(y, arrow = arrow(0.4))
> 
> \# these set length to 0.5, width to 0.2
> plot(y, arrow = (0.5, 0.2))
> plot(y, line = arrow(0.5, 0.2))
> \`\`\`
> 
> !\[tmp\](https://cloud.githubusercontent.com/assets/933338/15156989/9aa217fa-16b7-11e6-8abf-572e40b6c1bc.png)
> 
> Under the hood: these apply to line/path (I'll support 3d in the future... only 2d for now). An arrow is drawn whenever there are 2 data points followed by an Inf/NaN, or if it's the last point. This means you can pass NaN-separated paths and arrows can be added to the ends of each segment. 
> 
> I redid the quiver plot which is nicer and simpler. And streamplots (#178) should be much easier to generalize. (cc @goedman)

---

<div class="post-metadata">

### Author: ![Valentine\_GRAND](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/valentine_grand/32/11278_2.png) [@Valentine\_GRAND](https://discourse.julialang.org/u/Valentine_GRAND)
#### Post date: [June 29, 2020, 1:21pm UTC](https://discourse.julialang.org/t/changes-in-the-plots-graphrecipes-packages/42246/3 "2020-06-29T13:21:38Z")

</div>

Okay thank you very much, i’ll look into it !
