由买买提看人间百态

topics

全部话题 - 话题: gnuplot
1 2 3 4 5 6 7 下页 末页 (共7页)
A*****o
发帖数: 222
1
来自主题: Unix版 - [转载] gnuplot中的颜色问题
in your home directory .Xdefaults (if u don't have one, create one)
append
gnuplot*background: white
gnuplot*textColor: black
gnuplot*borderColor: black
gnuplot*axisColor: black
gnuplot*line1Color: red
gnuplot*line2Color: green
gnuplot*line3Color: yellow
gnuplot*line4Color: magenta
gnuplot*line5Color: cyan
gnuplot*line6Color: sienna
gnuplot*line7Color: orange
gnuplot*line8Color: coral
then, log out and re-login
or, xrdb -merge .Xdefaults
A*******i
发帖数: 75
2
来自主题: Linux版 - 安装Gnuplot和GMV的问题
我是用virtualbox装的ubuntu,新手上路才两天
主要针对计算的,所以想装个Gnuplot
下载了压缩包,解压,然后按照顺序
sudo ./configure --prefix=/usr/local/gnuplot
sudo make
sudo make install
到make都一切正常
make install最后时候出现问题,提示说没法拷贝一个gnuplot.info文件到/usr/local
/gnuplot/info文件夹
不过我在/usr/local/gnuplot/bin下找到了执行文件gnuplot
执行gnuplot,进去以后用plot命令画一个简单的文件,可是没有任何图形返回
是不是我还要装一些其它的软件?
另外我还想装一个GMV也是画图的
在网站上下载了
LINUX OpenGL version
提示说
The linuxogl version will dynamially link with OpenGL shared libraries.
Add the library path to LD_LIBRARY_PATH.
The f
h*******c
发帖数: 248
3
来自主题: Linux版 - Gnuplot问题
我一般是在script里用gnuplot。比如在perl里
open GNUPLOT, "| /usr/bin/gnuplot -persist";
select GNUPLOT; $| = 1;
select STDOUT;
然后直接把命令print到GNUPLOT里。画完了,就close GNUPLOT; 想画几个图,open几
次就可以了。
l***a
发帖数: 23
4
来自主题: Unix版 - [转载] gnuplot中的颜色问题
when giving a first plotting command in gnuplot after .Xdefaults is setup,
gnuplot may give the following complain --
gnuplot> plot sin(cos(x))
gnuplot: can't allocate 'sienna'. Using black.
gnuplot: can't allocate 'orange'. Using black.
gnuplot: can't allocate 'coral'. Using black.
Is there anyway to circumvent this problem? Also, the output .ps file still
stick to the old default color sequence, (i.e. "red","green","blue",...)no
matter how i modify .Xdefaults (the results from terminal x11 loo
m*********g
发帖数: 273
5
来自主题: Linux版 - Gnuplot问题
怎样画多个图阿?
我不是说要画几个数据在一个figure里,二是同时画在不同的figure里。
我现在是这样做的:
gnuplot> plot *********
gnuplot> shell
$gnuplot
gnuplot> plot ##########
可不可像matlab那样:
plot *********
figure(2);
plot #########
Thanks.
A*******i
发帖数: 75
6
来自主题: Linux版 - 安装Gnuplot和GMV的问题
自己搞定了
其实Ubuntu提供gnuplot的安装包,只要到system的administrator里面的synaptic找到
gnuplot安装就好了。不过问题是我装了gnuplot-x11但是找不到,只能用gnuplot,画
图的时候terminal却不能选择为x11
GMV解压后直接可以用,只要把linuxgl的属性改为可执行就可以了。

local
a*******y
发帖数: 51
7
来自主题: Linux版 - 请教一个gnuplot的问题
不要用port安装的gnuplot,那个不支持wxt。
虽然gnuplot官网上也说在Mac OS不支持wxt,但最近我在Mac OS上用fink安装的
gnuplot(4.4.0-3)版本,是支持
wxt的。
http://pdb.finkproject.org/pdb/browse.php?summary=gnuplot
l***a
发帖数: 23
8
来自主题: Unix版 - [转载] gnuplot中的颜色问题
【 以下文字转载自 Science 讨论区 】
【 原文由 litza 所发表 】
偶用gnuplot画图, 三条curve按出现的先后顺序分别
会是red, green, blue. That's the default setting
in gnuplot.
请问如何能customize gnuplot中的颜色设置呢?比如
偶想让第一条curve是 blue, 第二条curve是red, etc.
google了很久,发现这问题牵连到 .Xdefaults, X11的
一堆东西. Could anyone have experience on this
give some sample .Xdefaults/.gnuplot file? Thanks
a lot!
I*********t
发帖数: 5258
9
到octave-forge下载octave 的dmg,安装。再到wxmaxima下载wxMaxima-0.8.5-Maxima-
5.21.1.dmg,安装其中的GNUplot。然后在.bash_profile里写
# octave
export PATH="/Applications/octave.app/Contents/Resources/bin":$PATH
#gnuplot
export PATH="/Applications/Gnuplot.app/Contents/Resources/bin":$PATH
然后重新登录就可以在命令行里用了,也能在emacs里调用
x*********s
发帖数: 5554
10
来自主题: Linux版 - 请教一个gnuplot的问题
我用的是mac os, 使用port自动安装的gnuplot,set term的选项可以使用x11,具有
右键调整坐标范围的功能。
我另外一台机器用的ubuntu,使用apt-get装的gnuplot,
我从我mac os的机器,使用ssh -X 选项登录到ubuntu,然后启动gnuplot,默认使用的
term是wxt. 在我的mac os上能正确显示图形,而且功能还很强大,比如可以跳到前、
后一个scale。
我现在想在mac os的机器上也能set term wxt,但是我set term看了一下,选项里面没
有wxt, 请问应该怎么搞?
新手上路,多多关照~
倾家荡产,包子求助
g*****1
发帖数: 998
11
在vc express 2010里,调用gnuplot,有一个loop,读某个文件夹里的100多个txt文件,
然后画图.
但是发现有些文件并没有被画,console显示timeout, gnuplot is not ready
请问为啥阿?谢谢
M*P
发帖数: 6456
12
没用过gnuplot 但是估计是什么资源被占用了,
一般每个文件画完sleep一下。如果不能解决在看怎么catch gnuplot timeout的错误
x***o
发帖数: 2
13
来自主题: Unix版 - [转载] GNUplot color problem
【 以下文字转载自 Linux 讨论区,原文如下 】
发信人: xiabo (小波), 信区: Linux
标 题: GNUplot color problem
发信站: The unknown SPACE (Wed Apr 24 14:01:16 2002) WWW-POST
Hi, who knows how to control the line colors in gnuplot?
(The linetype number in gnuplot controls both the linetype
and its color.) Can they be controlled separately?
Thanks.
a******s
发帖数: 232
14
来自主题: Computation版 - a question about gnuplot
sure. I am using gnuplot to draw streamlines. hoho :)
It's not trivial to plot streamlines in gnuplot. You need to plot every
lines by yourself. I mean every arrow. Once you have done that, gnuplot
can even beat tecplot. Because it is so fast and easy to use.;)
x*****u
发帖数: 3419
15
来自主题: Computation版 - [转载] 一个gnuplot的问题
我这里有一个gnueps的script
#
# Assumes the gnuplot file .gp declares output .tex
# (Probably should assume a pipe, but oh well. Next version.)
# Creates .eps files.
# Preforms zero error-checking.
# Works with gnuplot 3.7, though I had to double my backslashes, e.g.
# in gnuplot 3.6 I had 'title "$\gamma"', but now 'title "$\\gamma"'.
#
# To use : Make this executable and put it somewhere in your path.
# Usage : epsify
# Example: for item in $(ls *.gp); do epsify $item; done
#
d******a
发帖数: 14
16
来自主题: Apple版 - gnuplot under mac os x
the gunplot for Mac is gone, the link http://homepage.mac.com/gnuplot
doesn't work any more, so I decided to compile gnuplot under Panther.
1) download jpeg-6b package, install it with
./configure
make
sudo make install
sudo make install-lib
make clean
2) download libpng-1.2.5 package. It says that for Mac OS X, you need
download the patch, which is just a replacement of makefile.macosx.
Untar the patch and move it into /script folder, then
cp script/makefile.macosx Makefile
but you still need d
T*********r
发帖数: 11175
17
来自主题: Apple版 - fink里的gnuplot怎么没了
不是,32的
list只能搜到gnuplot的doc
却看不到gnuplot程序
s********c
发帖数: 248
18
我在Mac下的x11里用gnuplot 4.2。有时候输入的内容比较长,在X window里显示的话
可能会有两行到三行。如果需要对刚刚输入的内容进行修改,就按一下上箭头键,刚才
输入的内容又都显示出来了。但奇怪的是我再左右移动光标,只有光标在最后一行的时
候我才能看到光标移动,当我把光标向左移动到最后一行的开头时,再向左移动光标的
话却只能看到光标固定在最后一行的开头。也就是说,我只能看到光标在最后一行移动
,但看不到光标在前面几行移动。
但当我用aqua term运行gnuplot的话就没这样的问题。
我猜想可能是x11配置的问题,那么能否有达人指点一下可能是哪里的配置出问题了呢
?谢谢。
g*****n
发帖数: 239
19
【 以下文字转载自 TeX 讨论区 】
发信人: gujason (gujason), 信区: TeX
标 题: 请教Gnuplot 画的图在不同latex template 下legend显示的问题
发信站: BBS 未名空间站 (Sat Oct 31 14:38:58 2009, 美东)
gnuplot画的图,在有的template下,图没有问题。但在别的template下,legend里单
词之间没有了空格。 是因为出现了dvips: font ??? used in file ??? is not in
the mapping file 的error吗?有什么解决的方法吗?多谢了!
d****e
发帖数: 251
20
来自主题: Linux版 - 请教gnuplot高手
如果我理解对了,这个问题我碰到过。好像gnuplot不可能忽略x-axis的scale,
我的做法是画了两个subplots拼在一起,中间有个省略符号链接起来。很多杂志上面
的图都是这种画法。我不记得我是用gnuplot还是grace画的了。
a****9
发帖数: 418
21
来自主题: Linux版 - 请教一个gnuplot的问题
我反过来
以前用pylab, 现在用gnuplot了
pylab画出来的图没有gnuplot好看,
另外再推荐一个ploticus, 专业的画图工具了,
learning curve比较陡, 不过确实好看
x*********s
发帖数: 5554
22
来自主题: Linux版 - 请教一个gnuplot的问题
各位大佬,我只是迫不得已才用gnuplot,以前的组里有正版的origin,大家交流都用
origin,现在这个合作的圈子大家都用数据+gnuplot的文件,我也只好用了。人家都用
set term wxt,我的苹果机上这个搞不定。。。。
话说,什么时候才能有我来决定是用什么软件~
g*****1
发帖数: 998
23
来自主题: Programming版 - using gnuplot in c++ question
我想用gnuplot里的:set timefmt "%Y-%m-%d"
然后在vc里:fprintf(p,"set timefmt "%Y-%m-%d"\n");
fflush(p);
结果gnuplot里显示的是 set timefmt "Y-m-0"
请问我错在哪?谢谢
D****r
发帖数: 309
24
the website smugmug provided I have also used quite a lot.
and always try the creator's homepage, e.g.
http://www.gnuplot.info/
or
http://www.duke.edu/~hpgavin/gnuplot.html
y****e
发帖数: 1012
25
来自主题: TeX版 - 请教一个gnuplot画图问题
set term postscript eps color blacktext "Helvetica" 24
set output 'p1.eps'
set autoscale # scale axes automaticallyun
set label # remove any previous labels
set xtic auto # set xtics automatically
set ytic auto # set ytics automatically
set title "I/O Traffic"
set xlabel "Interval(5s)"
set ylabel "Data(KB)"
set key 0.01,10000
set xr [0:100]
set yr [0:10000]
plot "p1.tmp" using 1:2 title 'r0' ... 阅读全帖
T*********r
发帖数: 11175
26
来自主题: Apple版 - fink里的gnuplot怎么没了
装了snowleopard,重装了fink
怎么死活也找不到gnuplot了
有人有同样问题吗
T*********r
发帖数: 11175
27
来自主题: Apple版 - fink里的gnuplot怎么没了
最后是直接装了
./configure --with-readline=bsd --x-include=/usr/include/X11 --x-libraries=/
usr/X11/lib
and then use make and sudo make install.
http://chuyandmac.blogspot.com/2009/09/gnuplot-in-snow-leopard.html
l*******r
发帖数: 623
28
哪有那么麻烦,直接下了个gnuplot的binary就能用阿,如果是学生就直接matlab了,还折
腾这干嘛
v****s
发帖数: 1112
29
sudo port install aqua
it finished successfully.
besides, i can use gnuplot in the terminal, and x11 will bring up the plot
window.
the problem is with the octave
S**I
发帖数: 15689
30
直接从gnuplot的源文件编译安装,有X11就行了,不是非得用octave不可:
./configure --with-readline=bsd --x-include=/usr/include/X11 --x-libraries=/
usr/X11/lib
make
sudo make install

set
了!
v****s
发帖数: 1112
31
why should i install gnuplot from wxmaxima? how come i cannot install it
directly?

Maxima-
I*********t
发帖数: 5258
32
.…


我还真没注意到octave里的extras也带有gnuplot…
s**********l
发帖数: 8966
b**********f
发帖数: 1
34
来自主题: CS版 - 请教一个gnuplot问题
gnuplot 中的图例(key)缺省是一行一个排列的,我现在图中有8条线,如果这样排列会压
到图中的线上。有没有什么命令可以把图列强制设成一行多个,比如3个?
多谢!
g*****n
发帖数: 239
35
Paper从ACM template 变到 IEEEtran, Gnuplot画的图X,Y轴上的字都挤到了一块(单
词之间没有了空格),有人碰到过,有什么好的解决方法吗?多谢了!
m*********g
发帖数: 273
36
来自主题: Linux版 - Gnuplot问题
I used to use gnuplot -persist a lot.
But I prefer the intercative way. I don't want to mess up the editting and
plotting. Only for the final result, I write a nice script to do nice
plotting.
l******l
发帖数: 233
37
来自主题: Linux版 - gnuplot无法用tab键自动补齐
在自己Mac上用gnuplot 4.2,发现无法用tab键自动补齐,而相同的版本在其他linux机
器上
这项功能就很正常,请教可能是什么原因?谢谢。
在网上查了一下如果要解决的话需要我装一个叫rlwrap的东东,但自己机器上好像装不
上。
那么还有没有其他途径呢?
s****n
发帖数: 700
38
来自主题: Linux版 - 请教gnuplot高手
我有一些时间序列的数据, 我可以把X轴设置成我时间的格式,然后把图画出来。
但是有个问题是, 有大段时间段是没有数据的。 华出来的图有很大一条就是跟直线,
我有什么办法在画图的时候忽略这段没有数据的区域。
如果gnuplot不成,还有什么其他软件可以么?
h*******c
发帖数: 248
39
来自主题: Linux版 - 请教gnuplot高手
看看这里有没有,
http://t16web.lanl.gov/Kawano/gnuplot/index-e.html
这个地方没让我失望过.
b*********n
发帖数: 2975
40
来自主题: Linux版 - 请教gnuplot高手
set datafile missing '-'
change '-' to whatever you used

我有一些时间序列的数据, 我可以把X轴设置成我时间的格式,然后把图画出来。
但是有个问题是, 有大段时间段是没有数据的。 华出来的图有很大一条就是跟直线,
我有什么办法在画图的时候忽略这段没有数据的区域。
如果gnuplot不成,还有什么其他软件可以么?
d****f
发帖数: 313
41
来自主题: Linux版 - 请教gnuplot高手
忽略一部分数据是不是该用 index 和 every 这两个东东?
就是只plot一部分数据
具体参见:http://t16web.lanl.gov/Kawano/gnuplot/datafile2-e.html
如果实在不行,用perl或者awk写一个脚本,把中间你不要的数据去掉就行了
S*A
发帖数: 7142
42
来自主题: Linux版 - 请教一个gnuplot的问题
我没有好好用过 gnuplot, 只是用过一点点。
但是我后面改用 python plotlib 了,那个很强大,而且
基本上覆盖很多 mathlab 的 plot 功能。特别是 interactive
的 plot, 用 python 比其他自定义的 script 强多了。
http://matplotlib.sourceforge.net/
L***n
发帖数: 6727
43
来自主题: Linux版 - 请教一个gnuplot的问题
really? are you talking about matplotlib? it's hard to believe
gnuplot can produce more beautful graph than matplotlib
t**o
发帖数: 144
44
来自主题: Linux版 - 请教一个gnuplot的问题
没什么办法,gnuplot目前在Mac OS上还不支持wxt terminal,参见release notes。
qt
发帖数: 9432
45
不是server的super user,没法自己装,但是test一个程序要用gnuplot,能不能通过设
置path或者environment什么的实现?
谢谢各位了。
qt
发帖数: 9432
46
这个程序已经编译好了,我没有原code,只有binary, 所以只能把gnuplot放在该放的地
方,或者想办法连到所在的地方。
f*******y
发帖数: 988
47
来自主题: Programming版 - GNUPLOT怎么样画大小不同的点
给定一个文件,里面有N列tuple
如何用gnuplot画出圆心在x,y的圆,半径为r
文件是这样的
0 0 1
1 0 1.2
0 2 0.2
......
v****s
发帖数: 1112
48
【 以下文字转载自 Apple 讨论区 】
发信人: vicfcs (ML+CV), 信区: Apple
标 题: 有谁在OS X上成功装了octave+gnuplot的?
发信站: BBS 未名空间站 (Sat Nov 6 16:16:03 2010, 美东)
用了mac port,折腾了n久,都装上了,但是在octave里面一调用figure,就出错说set
terminal aqua,我的aqua已经装上了阿,在macport里面dependencies的时候我看到了!
晕阿。。。到底怎么搞?
z*****n
发帖数: 7639
49
来自主题: TeX版 - A question about gnuplot
hehe, always followed by questions...
I am using gnuplot to output figures. A question is here:
I can use 'set terminal' to select output format,
there are quite a number of them, which is the most
convenient? I am now using postscript and then use PSreader
to convert it to eps, very boring.
Another problem is how to set the scale of figure? I have
output two figures so far, the first one is pretty ok. but
in the second one the y-axis becomes longer than the x-axis
and the figure looks verticall
T*******n
发帖数: 493
50
# This gnuplot script will get you started.
# You need to transpose the data and save it in the format
# shown at the end of the script.
# If you want to color-fill the bars, you'll need to edit the
# EPS file that is created.
set terminal postscript eps enhanced color solid "Times-Roman" 20
set output "bargraph.eps"
set xrange [0:5]
set yrange [0:8000]
set xlabel "cases"
set ylabel "values"
set xtics ("case 1" 1, "case 2" 2, "case 3" 3, "case 4" 4)
set grid ytics
set mytics 5
set key width -9 b
1 2 3 4 5 6 7 下页 末页 (共7页)