TeX parse error: syntax error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

TeX parse error: syntax error

Doug Stewart-4
When I run my code that ends with this:


 plot(xx,yy)
    hold off
    xlabel('days')
    ylabel('grams')
    title('Soap drying time')
    
#    y=203* e^(.02847*x) +1234+ 91*e^(.5327*x)
text(2,1500,' y=203* e^^ (.02847*x) +1234+ 91*e^^ (.5327*x)', 'fontsize',20)


I get the plot that is attached, and this error message:


TeX parse error: syntax error
TeX parse error: syntax error
>>
 
How to get    y=203* e^(.02847*x) +1234+ 91*e^(.5327*x)
printed on the plot?



--
DAS


_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave

Screenshot from 2017-11-29 06-25-58.png (34K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: TeX parse error: syntax error

mmuetzel
Is this what you are looking for?:

text(2,1500,' y=203* e^(.02847*x) +1234+ 91*e^(.5327*x)', 'fontsize',20,
'interpreter', 'none')


Markus



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: TeX parse error: syntax error

Doug Stewart-4


On Wed, Nov 29, 2017 at 7:54 AM, mmuetzel <[hidden email]> wrote:
Is this what you are looking for?:

text(2,1500,' y=203* e^(.02847*x) +1234+ 91*e^(.5327*x)', 'fontsize',20,
'interpreter', 'none')

Yes. Thank you

 

Markus



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave



--
DASCertificate for 206392


_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave