# Why my heatmap contour plot in polar coordinates is small/tiny?

**URL:** <https://discourse.julialang.org/t/why-my-heatmap-contour-plot-in-polar-coordinates-is-small-tiny/47955>\
**Category:** Visualization\
**Tags:** question, plots\
**Created:** [October 7, 2020, 9:21pm UTC](https://discourse.julialang.org/t/why-my-heatmap-contour-plot-in-polar-coordinates-is-small-tiny/47955 "2020-10-07T21:21:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![RBraghiere](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rbraghiere/32/18502_2.png) [@RBraghiere](https://discourse.julialang.org/u/RBraghiere)\
**Post date:** [October 7, 2020, 9:21pm UTC](https://discourse.julialang.org/t/why-my-heatmap-contour-plot-in-polar-coordinates-is-small-tiny/47955/1 "2020-10-07T21:21:08Z")

</div>

Hi,

I am trying to plot a heatmap in a polar plot like so:

```julia
contourf(deg2rad.(collect((0:360))),deg2rad.(collect(0:1:85)), B, aspect_ratio=:equal, proj=:polar, color=:viridis, alpha=0.5)

```

But I get a tiny little figure

![image](https://global.discourse-cdn.com/julialang/original/3X/e/c/ec2716729e8881d49a4d6732c18851aaf9c3f01f.png)

Why is that? And how can I fix it? Thank you!

---

<div class="post-metadata">

**Author:** ![SDA](https://avatars.discourse-cdn.com/v4/letter/s/41988e/32.png) [@SDA](https://discourse.julialang.org/u/SDA)\
**Post date:** [October 13, 2020, 10:21am UTC](https://discourse.julialang.org/t/why-my-heatmap-contour-plot-in-polar-coordinates-is-small-tiny/47955/2 "2020-10-13T10:21:02Z")

</div>

Hi RBraghiere,

Did you make any progress with this? I have the same issue.  
e.g.

```julia
using Plots
pyplot()
using PyPlot

X = range(1,stop=100,length=100)
Y = range(1,stop=100,length=100)
Z = rand(100,100)

h1 = heatmap(
     X,Y, Z,
     proj=:polar
    )

```

Does anyone have any ideas?

---

<div class="post-metadata">

**Author:** ![SDA](https://avatars.discourse-cdn.com/v4/letter/s/41988e/32.png) [@SDA](https://discourse.julialang.org/u/SDA)\
**Post date:** [October 27, 2020, 1:28am UTC](https://discourse.julialang.org/t/why-my-heatmap-contour-plot-in-polar-coordinates-is-small-tiny/47955/3 "2020-10-27T01:28:25Z")

</div>

Just bumping this up in case anyone else is having the same issue or has any ideas? I still haven’t found a solution ☹

---

<div class="post-metadata">

**Author:** ![daschw](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/daschw/32/2926_2.png) [@daschw](https://discourse.julialang.org/u/daschw)\
**Post date:** [October 27, 2020, 8:47am UTC](https://discourse.julialang.org/t/why-my-heatmap-contour-plot-in-polar-coordinates-is-small-tiny/47955/4 "2020-10-27T08:47:05Z")

</div>

This should be fixed in Plots \>= v1.7.2 ([https://github.com/JuliaPlots/Plots.jl/pull/3088](https://github.com/JuliaPlots/Plots.jl/pull/3088)).

---

<div class="post-metadata">

**Author:** ![SDA](https://avatars.discourse-cdn.com/v4/letter/s/41988e/32.png) [@SDA](https://discourse.julialang.org/u/SDA)\
**Post date:** [October 27, 2020, 10:14am UTC](https://discourse.julialang.org/t/why-my-heatmap-contour-plot-in-polar-coordinates-is-small-tiny/47955/5 "2020-10-27T10:14:58Z")

</div>

Thank you!
