The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: publish behavior when outputting
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Petr Krysl

Posts: 128
Registered: 1/9/08
publish behavior when outputting
Posted: Dec 9, 2012 4:55 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hello all,

I have a function that I'd like to publish, top. There is a nested function inside top that produces printed output and two images. Let us say

function top
function f(arg)
% print
% plot
figure; plot (1,1,'o');%something
% plot
figure; plot (2,2,'x'); %other

% for 1

% for 2


Now instead of the three outputs placed in the published HTML file in the order in which they are produced in the function f (note that there are two calls to this function), I get twice the printed output followed by two figures with "something" and two figures with "other".

Is this behavior controllable? Can I change this so that I get
for each call to the function the three outputs listed sequentially ("a", "something", "other")?



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.