Thread Subject: Cell mode: cell bound prompts figure output

Subject: Cell mode: cell bound prompts figure output

From: Dimitri Shvorob

Date: 13 Oct, 2007 07:27:28

Message: 1 of 2

Question 1. How many figures will show up in the HTML report
when the following code is executed in cell mode?

%%
figure
plot(OverallRisk,OverallReturn,'k'), hold on
plot(PortRisk,PortReturn,'LineWidth',3,'Color',[.8 .8 .8]),
hold on
%%
xlabel('Portfolio risk, \sigma_{p}')
ylabel('Portfolio return, r_{p}')
%%
xlim = [0 max(OverallRisk)];
ylim = [RisklessRate max(ExpReturn)];
axis([xlim ylim])
%%
set(gcf,'color','white')
title('Capital allocation line')

(Answer: 4)

Question 2: to Mathworks developers working on cell mode.

Is this a sensible behavior? :)

Subject: Cell mode: cell bound prompts figure output

From: Matthew Simoneau

Date: 15 Oct, 2007 17:02:19

Message: 2 of 2

Dimitri, this is working as designed. At a cell break, any
changed figures are snapshotted. What would you like to
happen here?

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
cell mode Matthew Simoneau 15 Oct, 2007 13:05:52
publishing Matthew Simoneau 15 Oct, 2007 13:05:48
cell mode Dimitri Shvorob 13 Oct, 2007 03:30:21
rssFeed for this Thread

Contact us at files@mathworks.com