[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Octave for Windows?
From: |
gleblanc |
Subject: |
RE: Octave for Windows? |
Date: |
Wed, 20 Aug 2003 21:44:40 -0500 |
Thanks for the response. It did not work.
I also tried:
estring = num2str(e)
mytitle = ['Plot of A = 1, B = 5 AND I = ', estring]
gset title (mytitle) --undefined variable
gset title [mytitle] --Invalid expression
gset title mytitle --undefined variable
gset title [\", mytitle, \"] --Invalid character (\)
gset title [", mytitle, "] --unterminated string constant
gset title mytitle --undefined variable
AND
gset title([['Plot of A = 1, B = 5 AND I = '] num2str(i)])
AND
gset title(['Plot of A = 1, B = 5 AND I = ', num2str(i)])
none worked.
Help
> Try:
>
> gset title(['Plot of A = 1, B = 5 AND I = '] num2str(i)])
>
> -----Original Message-----
> From: address@hidden [mailto:address@hidden
> Sent: Wed 8/20/2003 7:06 PM
> To: address@hidden
> Cc:
> Subject: Octave for Windows?
>
>
>
> Hello,I would like to ask a question please.
> I am trying to use variables within strings. Is this possible?
> If so, how?
>
> Here is what I am trying to do.
> Octave Ver. 2.1.36
> GNUPlot Ver. 3.7
>
> a = 1
> B = 5
> for i = 1:20
> x = **********
> y = **********
> end
> gset title ("Plot of A = 1, B = 5 AND I = " i)
> plot (x,y,'b')
>
> Thank you for the help.
>
> Gregory LeBlanc
> address@hidden
>
>
> -----------------------------------------
>
> This email was sent using FREE Catholic Online Webmail.
> http://webmail.catholic.org/
>
>
>
> -----------------------------------------
>
> This email was sent using FREE Catholic Online Webmail.
> http://webmail.catholic.org/
>
>
>
>
> -------------------------------------------------------------
> Octave is freely available under the terms of the GNU GPL.
>
> Octave's home on the web: http://www.octave.org
> How to fund new projects: http://www.octave.org/funding.html
> Subscription information: http://www.octave.org/archive.html
> -------------------------------------------------------------
>
>
>
-----------------------------------------
This email was sent using FREE Catholic Online Webmail.
http://webmail.catholic.org/
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------