gnuplot中的@是如何产生的? [英] How is @ produced in gnuplot?

查看:42
本文介绍了gnuplot中的@是如何产生的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Helvetica字体,使用GnuPlot将情节的标题"P @ 10"放置.

I'm trying to put as the title of a plot "P@10" using GnuPlot, using the Helvetica font.

我所做的是这样:

设置编码iso_8859_1

set encoding iso_8859_1

设置标题"P \ 100 10"

set title "P \100 10"

\ 100来自 unicode中at符号的八进制表示形式.但是,最终图将@替换为一个简单的空格.其他符号将按预期工作.

The \100 comes from the octal representation of the at symbol in unicode. The final plot, however, replaces the @ with a simple space. Other symbols work as expected.

我还尝试了

I also tried the matlab script provided here, to look for the @ symbol in at least 4000 different codes, but I couldn't find it.

即使使用其他字体,这也是可能的吗?

Is this possible, even with another font?

我在Ubuntu和Windows这三种不同的系统上尝试了此操作.

I tried this on three different systems, Ubuntu AND Windows, to no avail..

最小的工作示例:

设置术语后缀eps增强的颜色

set term postscript eps enhanced color

设置编码iso_8859_1

set encoding iso_8859_1

设置标题测试\ @测试"-或-设置标题测试\ 100测试"

set title "Test \@ Test" -or- set title "Test \100 Test"

列出"example.eps"

set out "example.eps"

绘制sin(x)

我的输出的标题中没有@符号.

My output doesn't have any @ sign in the title.

推荐答案

This post may be helpful. If you are using an 'enhanced' terminal you have to escape ('\@') the @ symbol.

这篇关于gnuplot中的@是如何产生的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆