|
From: | john wang |
Subject: | Re: how to put square root in the plotting |
Date: | Wed, 10 Jun 2015 08:51:36 -0700 |
if it is just simple text, you can just put char √ inline and itwill "just work" with any modern gnuplot terminal (wxt, qt, pdfcairo, pngcairo, epscairo).E.g.:
x=linspace(0,100,101);
y=sqrt(x);
plot(x,y)
text(30,7, "y = √x")
title("y = √x")
# Or
#print("sqrtx.pdf","-dpdfcairo","-FCambria:18")
print("sqrtx.png","-dpngcairo","-FCambria:18")Should produce the attached file.
_______________________________________________
Help-octave mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-octave
[Prev in Thread] | Current Thread | [Next in Thread] |