Question: why Typesetting:- has no effect on plot title math, using typeset or no typeset. No effect.

I use  

Typesetting:-Unsuppress('all'):
Typesetting:-Settings(prime=t,'typesetprime'=true):

to make the math easier to read. (also the latex looks better this way).

But it has no effect when on the plot title. Here is screen shot and code

In this below, I get same title if I use   plot(t,'title'=typeset(the_title));   or plot(t,'title'=the_title);  Instead of dy/dt,  I wanted it to show as y'(t) like it does in worksheet.

Is there a way to make the title of the plot show the math in the nicer format shown in the worksheet automatically? It looks like Typesetting:-Settings does not extend to plots, which is too bad.


code

the_title:=diff(y(t),t$2)+c*diff(y(t),t)+k*y(t)=0;
Typesetting:-Unsuppress('all'):
Typesetting:-Settings(prime=t,'typesetprime'=true): #this says to use y'(t) instead of dy/dt    

plot(t,'title'=typeset(the_title),size=[300,300]);

#or

plot(t,'title'=the_title,size=[300,300]);

 

 

Please Wait...