You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So the story for this is pretty bad on gnuplot's side. The only "official" way I could find for now is to use the "epslatex" terminal (ideally with the 'standalone' option), which lets you write code like this:
use gnuplot::*;fnmain(){letmut fg = Figure::new();
fg.axes2d().set_title(r"$\\lambda$",&[]);
fg.set_terminal("epslatex standalone","output.tex");
fg.show().unwrap();}
Then, you run that program you get a .ps and .tex files that you can pass through pdflatex to get the final pdf output. It's hardly ideal.
If all you need is some symbols and super- and sub-scripts, then at least as of 1d9866d it should work to do things like "λ^2", i.e. use unicode + caret/underscores.
Hello,
First, thank you for the crate. Very helpful.
I am trying to add symbols in the labels, like, nano, or$\lambda$ symbols.
Is this supported currently?
I tried doing this,
But it fails.
The text was updated successfully, but these errors were encountered: