# Using graypolarplot

**URL:** <https://scilab.discourse.group/t/using-graypolarplot/625>\
**Category:** Graphics and plotting\
**Created:** [September 9, 2024, 2:56pm UTC](https://scilab.discourse.group/t/using-graypolarplot/625 "2024-09-09T14:56:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cfuttrup](https://avatars.discourse-cdn.com/v4/letter/c/3ec8ea/32.png) [@cfuttrup](https://scilab.discourse.group/u/cfuttrup)\
**Post date:** [September 9, 2024, 2:56pm UTC](https://scilab.discourse.group/t/using-graypolarplot/625/1 "2024-09-09T14:56:39Z")

</div>

Dear Scilabers

I am trying to utilize graypolarplot  
[https://help.scilab.org/graypolarplot](https://help.scilab.org/graypolarplot)

I can execute the sample script in the documentation, but when I apply my own data, there is no details, everything is just red colored.

I think it is because default strf = “030” … so, I would like to use “020” (or “040”) instead, but whenever I apply this option, Scilab gives me an index error.

Can someone help me, by showing how do I provide this option to graypolarplot?

I have looked in C:\Program Files\scilab-2024.0.0\modules\graphics\macros\graypolarplot.sci …

```
nv = size(varargin)
if nv>=1
    strf = varargin(2)

```

Since the string property (“020”) is supposed to be the second varargin, what do I put into the first varargin??

With kind regards,  
Claus

---

<div class="post-metadata">

**Author:** ![vincent.couvert](https://avatars.discourse-cdn.com/v4/letter/v/f4b2a3/32.png) [@vincent.couvert](https://scilab.discourse.group/u/vincent.couvert)\
**Post date:** [September 10, 2024, 7:10am UTC](https://scilab.discourse.group/t/using-graypolarplot/625/2 "2024-09-10T07:10:02Z")

</div>

Hello @cfuttrup

Nice catch, seems this problem has been there since the first version of `graypolarplot()`. I just opened an issue about it: [graypolarplot() fails when called with 4 or 5 input arguments. (#17288) · Issues · scilab / scilab · GitLab](https://gitlab.com/scilab/scilab/-/issues/17288)

Best regards.
