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: Plot Titles Question
Replies: 3   Last Post: Sep 27, 1996 6:18 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
John Mason

Posts: 1
Registered: 12/11/04
Plot Titles Question
Posted: Sep 27, 1996 1:55 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Is there any way to use a variable value in the title of a plot?

Here is a sample

k1=[0.5 .85 1.0 2.0];
for n=1:4

den=[1 6 5 0];
subplot (2,2,n),plot(t,y1)
*** Title (' K1 = ') % This is were I would like to put the value of k1

The titles should Read "K1=0.5" or "K1= 0.85" ect.


John Mason

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.