Antenna Pattern delete axis and ellipses
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Dingodongo
el 28 de Oct. de 2023
Comentada: Voss
el 28 de Oct. de 2023
Hi,
when plotting antenna radiation patterns like in this example below, it always plots x,y,z axis and three ellipses. I do not want to see any ellipses and the axis colors should be black only. Is there also a way to hide the left box on the bottom containing the antenna symbol and also the information box on the left upper corner?
Thank you very much!
ant = helix;
pattern(ant,2e9)
0 comentarios
Respuesta aceptada
Voss
el 28 de Oct. de 2023
Here's one way to do some of that:
ant = helix;
pattern(ant,2e9)
f = gcf();
ax = findall(f,'Type','Axes','Tag','patternAxis');
p = findall(ax,'Type','patch');
h = findall(ax,'Type','line');
t = findall(ax,'Type','text');
set([p;h;t],'Visible','off')
ax = findall(f,'Type','Axes','Tag','geometryInPattern');
set([ax; allchild(ax)],'Visible','off')
uic = findall(f,'Type','uicontrol');
set(uic,'Visible','off');
bnd = findall(f,'Tag','boundarydotted');
set(bnd,'Visible','off');
I'm not sure what you mean by "the axis colors should be black only". Can you explain that part?
4 comentarios
Voss
el 28 de Oct. de 2023
ant = helix;
pattern(ant,2e9)
f = gcf();
ax = findall(f,'Type','Axes','Tag','patternAxis');
h = findall(ax,'Type','line');
set(h([6 7 8]),'Visible','off')
set(h([1 2 3]),'Color','k')
ax = findall(f,'Type','Axes','Tag','geometryInPattern');
set([ax; allchild(ax)],'Visible','off')
uic = findall(f,'Type','uicontrol');
set(uic,'Visible','off');
bnd = findall(f,'Tag','boundarydotted');
set(bnd,'Visible','off');
Más respuestas (0)
Ver también
Categorías
Más información sobre Antennas and Electromagnetic Propagation en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


