Here's the question: how do I get the following to work in SageTeX? The quotes always lead to an error.
\sageplot{plot(cos(x),(x,0,pi),label='$\cos(x)$')}
Double quotes, escaping them, ... nothing seems to work.
|
|
I don't know enough to tell you what's going on, but this works:
Note, to get even more control over the placement of your text label try this:
The people at AskSage will know what's best. Here's output from the first set of code: |
|||||||||||
|