From: MFjbj2 on
Hi all.

I am having a problem configuring the bodeplots like I want. After frequent googling and lot of trials I still haven't found any bypass solution to it yet. So if any one knows a workaround I would appreciate your input very much.

The main reason for this problem is that it is not possible to configure the linestyle and linecolor by using the bodeplot function like this:
bodeplot(Hs_tf,freq1,'r.'); % freq1 is a vector.

The "preferred" code is like this:
subplot(4,5,[3:4 8:9])
bodeplot(Hs_tf,'b-'); hold on;
bodeplot(Hs_tf,freq1,'r.'); % but this does not work

My workaround works for the phase plot but not the magnitude plot and is like this:
subplot(4,5,[3:4 8:9])
bodeplot(Hs_tf,'b-'); hold on;
plot(freq1,phase,'r.') % works OK

Similar command would of course be like the following, but is not successful as I cann't find any way to reference to the magnitude plot:
plot(freq1,magnitude,'r.')

So the question is what do I need to add before this last command, or what do I need to do differently?

Best regards.
Jon Bj.