Good Toolbox, I have used dslab.m and dguide.m files which are related to (TE modes in dielectric slab waveguide- TE-mode cutoff wavenumbers in a dielectric slab ), I wanted to reproduce that for TM modes, could you please help me how can I change that for TM modes?
There is currently no functionality in the code to allow for this. When I
next update it I'll add a checkbox for it, thanks for the idea!
To achieve this you should enter the pcpnew.m file and change line 743 to:
(Probably do that anyway, I'm putting it in the next version)
Then (depending what settings you want this for), after line 774 put:
for i = 1 : dimnum
for j = 0 : 10
%I'm not sure how good a MATLAB function 'text()' is
%Doing ticks as shown in your graph would be more complicated
This will look pretty crude; for a start I'd delete lines 745 to 753 to get rid of the original y axis labelling. Also it won't be compatible with flipping, setting scale or probably ordering.
Hope that helps!