From: Wayne King on
"Ashgard " <a.g.m.weterings(a)student.tudelft.nl> wrote in message <hj4er5$p4d$1(a)fred.mathworks.com>...
> Hey,
>
> I want to do something very simple (at least I thought it should be). All I want to do is to remove the labels (x and y) of a bode diagram.
>
> For example, if I make
> >> bode(tf(1,[1 1]))
> Then a figure is created with axis titles Magnitude (db) and Frequency (rad/s). If I now use
> >> xlabel('');ylabel('');
> Then the axis titles are (db) and (rad/s). But I want those to be deleted aswell.
>
> What is the proper way of doing so?
>
> Thanks in advance.

Hi, one way is to return output arguments and plot it yourself:

g = tf([1 0.1 7.5],[1 0.12 9 0 0]);
[magout,phase,w] = bode(g);
subplot(211);
semilogx(w,20*log10(squeeze(magout)));
grid on;
subplot(212)
semilogx(w,squeeze(phase));
grid on;


Compare to 1st help example in
>>doc bode

Hope that helps,
Wayne