Why Matlab publish code function show only the last figure of every cell?

조회 수: 4 (최근 30일)
Niptic
Niptic 2012년 10월 8일
I used the publish code function by matlab to generate report of a script. By evaluating every cell, in the end report show only the last figure of every cell, if there are more than one plots that actually should show. Do anyone also have the same problem? Have I miss the right configuration?
Thanks and Regards.

답변 (1개)

Junaid
Junaid 2012년 10월 8일
If there are different plot figures then there should be subplot function, or if on one figure you have many curves, then after each plot just add
hold on;
using hold function it will not only show the last but all before.

카테고리

Help CenterFile Exchange에서 Data Exploration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by