Akzeptierte Antwort

Sean de Wolski
Sean de Wolski am 11 Nov. 2013

1 Stimme

As in modifying the 'LineWidth' of a mesh plot?
h = mesh(magic(5));
set(h,'LineWidth',3);
If not, please clarify the question.

Weitere Antworten (1)

francesco
francesco am 26 Nov. 2013

0 Stimmen

Thank you,! for plots this solution is perfect,
I was wondering is but won't work in some cases, as defined graphs (PSD) power spectral density
Let's work
%
%
Fs=10000
h = spectrum.welch;
var=peaks(100)
Hpsd1 = psd(h,var(:,length(var)/2),'Fs',Fs);
figure, hold all
h=plot(Hpsd1);
set(h,'LineWidth',3,'Color','red');
clear Hpsd1 var h Fs
%
%
gives "dspdata.abstractfreqresp.plot"
issues handling specs for predefined plots
doesn't allow use linespecs inside.
plot(v,'linewidth',10,'Color','green'). thanks

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by