I have a plot that I set to a black background and yellow square points. When I publish the script, the plot has a white background. How do I ensure the published document has the same plot as my script?

10 views (last 30 days)
figure subplot(211),plot(t,x4Q),axis([tstart tend 0 240]) ,grid; xlabel('Time (sec)');ylabel('Amplitude'); title('Quantized Amplitude') tbQ(end)=[]; subplot1 = subplot(2,1,2); hold(subplot1,'on');
plot(1:length(xvQm),xvQm,'Parent',subplot1,... 'MarkerFaceColor',[1 1 0],'MarkerSize',2,... 'Marker','square',... 'LineStyle','none',... 'Color',[1 1 0]); xlabel('Time (scaled)');ylabel('Amplitude (scaled)'); title('Quantized Amplitude and Time - zoh') xlim(subplot1,[1 320]); ylim(subplot1,[1 240]); box(subplot1,'on'); grid(subplot1,'on'); set(subplot1,'Color',[0 0 0],'GridColor',... [0.941176470588235 0.941176470588235 0.941176470588235]);

Accepted Answer

Thorsten
Thorsten on 26 Nov 2015

More Answers (0)

Community Treasure Hunt

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

Start Hunting!