Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #294
| From | Christoph Bersch <usenet@bersch.net> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: Square root symbol in labels? |
| Date | 2011-05-12 16:22 +0200 |
| Organization | GWDG, Goettingen |
| Message-ID | <iqgqeq$1of7$1@gwdu112.gwdg.de> (permalink) |
| References | <fd643e77-727b-4ddc-a88c-dbba8a7a97e0@l6g2000vbn.googlegroups.com> |
Hi,
On 12.05.2011 15:38, Oliver Götze wrote:
>
> is there a way (or a terminal [iam using postscript eps enhanced
> color]) which allows to display the square root symbol? I have some
> plots i have to label with this symbol but do not whant to use:
> "(x)^1/2" or "sqrt(x)".
>
> Is there a way to use the symbol insteat?
The only way that I am aware of without using any LaTeX-based terminal
is to use the Unicode character SQUARE ROOT (U+221A)
set terminal pdfcairo enhanced
set encoding utf8
set ylabel '√x'
set output 'test.pdf'
plot sin(x)
or with the Symbol font (see ps_guide.ps):
set terminal postscript eps enhanced
set ylabel '{/Symbol \326}x'
set output 'test.eps'
plot sin(x)
With a LaTeX-based terminal you could do
set terminal epslatex standalone
set ylabel '$\sqrt{x}$'
set output 'test.tex'
plot sin(x)
latex test.tex && dvips test.dvi && ps2pdf test.ps
Christoph
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Next in thread | Find similar
Square root symbol in labels? Oliver Götze <goetze.oliver@googlemail.com> - 2011-05-12 06:38 -0700
Re: Square root symbol in labels? Christoph Bersch <usenet@bersch.net> - 2011-05-12 16:22 +0200
Re: Square root symbol in labels? Oliver Götze <goetze.oliver@googlemail.com> - 2011-05-12 07:28 -0700
csiph-web