# Custom Venn Diagram in Julia

**URL:** <https://discourse.julialang.org/t/custom-venn-diagram-in-julia/85696>\
**Category:** General Usage\
**Tags:** question\
**Created:** [August 13, 2022, 7:14am UTC](https://discourse.julialang.org/t/custom-venn-diagram-in-julia/85696 "2022-08-13T07:14:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Freya\_the\_Goddess](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/freya_the_goddess/32/36835_2.png) [@Freya\_the\_Goddess](https://discourse.julialang.org/u/Freya_the_Goddess)\
**Post date:** [August 13, 2022, 7:14am UTC](https://discourse.julialang.org/t/custom-venn-diagram-in-julia/85696/1 "2022-08-13T07:14:04Z")

</div>

Hi all,

I saw this topic:

> [@Venn Diagram](https://discourse.julialang.org/t/venn-diagram/14084):
>
> Hi, I am wondering how to draw a venn diagram with language. What is a preferred and well supported way of doing that in Julia language? I would be happy if there was some example code that would work out of the box. I have no previous experience from Julia language. Thanks

But I want to plot a custom venn diagram in Julia, which can show 🙂

1. 𝐴∩𝐵
2. 𝐴∖𝐵
3. 𝐴△𝐵 (symmetric difference of sets A and B which you can imagine like two blocks and the sets is not the intersection of the blocks)
4. A inside S (the big sets containing A)

It does not have to be a circle like official Venn’s diagram. I know I could create it with Paint or Inkscape or other softwares. But I am using JupyterLab and it is nicer to plot with Julia all this. Haha…

 ![Capture d’écran_2022-08-13_14-14-42](https://global.discourse-cdn.com/julialang/original/3X/9/c/9c8a5a80a2b837b124f39c1ea3f729d21c2b3dad.png)  
 ![Capture d’écran_2022-08-13_14-14-52](https://global.discourse-cdn.com/julialang/original/3X/8/7/87a1ff5449a4f34576250a1b82806ee0c586c263.png)

---

<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:** [August 13, 2022, 2:07pm UTC](https://discourse.julialang.org/t/custom-venn-diagram-in-julia/85696/2 "2022-08-13T14:07:40Z")

</div>

Take a [tour of LazySets.jl](https://github.com/JuliaReach/LazySets.jl/blob/master/docs/src/man/tour.md)
