How to handle Compasss GUI?

As per shown in this image of compass, I want to remove 50000, 100000 values from this fig. I removed other values which are the multiples of 30. but by the same way, i tried to remove these values too but not able to do it.
compass(abc(1));
set(findall(gcf, 'String', '30' 'or','String', '60'),'string','')
but this wont work for 250,50000, 100000 n like similar values which shows radial distance.
Please suggest me some command by which I can remove this error.

2 Comments

Are you using R2014b or later, or are you using an earlier release?
I am using 2015.
also above mentioned problem is resolved using following code..
rho_1 = {'1' '0.8' '0.6' '0.4' '0.2'};
rho_2 = {'0' '-10' '-20' '-30' '-40'};
ff = findall(gca,'type','text');
t=strtrim(get(ff,'String'));
for r=1:length(rho_1)
set(ff(strcmp(t,rho_1{r})),'String',rho_2{r})
end
Ty

Sign in to comment.

Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Asked:

on 15 Jun 2017

Edited:

on 15 Jun 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!