I am using pole-zero map (pzmap) and i want to enhance the size of pole or zero (or in other words i want to change the marker size). Please guide me how can i do by coding?
51 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Muhammad
el 22 de Nov. de 2018
Editada: Star Strider
el 22 de Nov. de 2018
I am using MATLAB 2016a and ploting pzmap of the transfer fucntion. I want to enhance the marker size of the pole or zero on map. But, i cannot fine how to do this by coding? I can change the color of pole or zero but i can not change the maker size.
0 comentarios
Respuesta aceptada
Star Strider
el 22 de Nov. de 2018
Editada: Star Strider
el 22 de Nov. de 2018
It is not obvious, and requires some experience with ‘handle diving’ into graphics objects.
Try this:
H = tf([2 5 1],[1 3 5]); % Define System
pzmap(H) % Create Plot
hm = findobj(gca, 'Type', 'Line'); % Handle To 'Line' Objects
hm(2).MarkerSize = 20; % ‘Zero’ Marker
hm(3).MarkerSize = 20; % ‘Pole’ Marker
This changes them from their default size of 7 to 20.
EDIT — This works in R2018b. I cannot test it with earlier releases.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Mapping Toolbox 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!