![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
[实验数据处理]
KiraYin--
这个作者很懒,什么都没留下…
展开
-
从matlab导入fig图片数据并设定输出大小
从fig图片导出原始数据: lh = findall(gca, 'type', 'line'); >> xc = get(lh, 'xdata'); >> yc = get(lh, 'ydata'); >> x1=xc{1}; >> y1=yc{1}; >> x2=xc{2}; >> y2=yc{2}; 可能要执行两遍才成功 绘图时逆序 设置坐标轴标题和文字大小: >>原创 2013-04-01 11:33:45 · 3430 阅读 · 0 评论 -
GNUPLOT bar plot 绘制,并用条纹填充
set terminal postscript font "Helvetica, 16" set boxwidth 0.9 absolute set style fill pattern 2 border lt -1 set style histogram clustered gap 1 title offset character 0, 0, 0 set datafile missing '-原创 2014-08-08 12:00:22 · 5237 阅读 · 0 评论 -
递归删除文件
find . -name 'log_snd' -delete原创 2014-12-03 13:18:34 · 532 阅读 · 0 评论 -
TOP用法
1. top -p 8530 -b -n10 -d 1 >> nolog.txt原创 2014-11-04 02:34:20 · 629 阅读 · 0 评论 -
Matlab 命令行设置颜色和legend,保存图像,设置title。。。
i=10; goodput=(i-1)*5+2; rtt=goodput+1; lossrate=rtt+1; qpm=lossrate+1; total_request=qpm+1; figure h6=plot(asn12322_smoothed(:,goodput)*100/max(asn12322_smoothed(:,goodput)),'-r'); hold on; h7=plot(a原创 2014-08-12 06:18:42 · 4422 阅读 · 0 评论 -
Matlab 绘制 clustered rowstacked bar plot
set terminal postscript font "Helvetica, 16" set boxwidth 0.9 absolute set style fill pattern 2 border lt -1原创 2014-08-09 12:40:44 · 1913 阅读 · 0 评论 -
将文件夹下所有pdf变成黑白的脚本
#!/bin/bash for file in ./*.pdf do echo "$file" gs -o black+white.pdf -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress -sColorConversionStrategy=Gray -sColorConversionStrategyForImages=Gray -sProcessColo原创 2014-08-10 11:51:14 · 1755 阅读 · 0 评论 -
[Latex] 如何将latex的伪代码algorithm保存为大小fit的pdf或者图像
\documentclass{article} \usepackage[margin=0in,paperheight=8in, paperwidth=4.3in]{geometry} \usepackage{amsmath} \usepackage{algorithm} \usepackage[noend]{algpseudocode} \usepackage{setspace} \usepack原创 2014-08-10 01:21:12 · 2862 阅读 · 0 评论 -
Matlab绘图marker间距调整脚本
h1=plot(cubicdelay5thttp0500ms(1:180,3),cubicdelay5thttp0500ms(1:180,2)/1000,'--'); hold on h2=plot(cubicdelay5thttp0500ms(1:180,3),theorapiddelay5thttp0500ms(1:180,2)/1000); h4=plot(cubicdelay5thttp0原创 2014-08-03 10:56:48 · 5562 阅读 · 0 评论 -
Matlab 绘图,文件名为变量肿么办
for i=1:100 filename=strcat('RTT/path',num2str(asn12322_counter(i,1)-1),'_loss_smooth_30.dat'); tmpfile=load(filename); h1=plot((tmpfile(:,1)-asn12322(1,1))/60, tmpfile(:,3)); lege原创 2014-07-31 01:28:44 · 2364 阅读 · 0 评论 -
[matlab]matlab批量导入纯数字文件
将所有文件放入当前文件夹下data文件夹中 list=dir('./data'); list.name N=length(list) for i=3:N eval(['load ' 'data\' list(i,1).name]); end原创 2014-01-10 02:01:35 · 981 阅读 · 0 评论 -
GNUPLOT绘制直方图和error bar的脚本
gnuplot<<EOF set terminal png set output "result_$1_$2.png" #set xtics rotate by -45 #set boxwidth 1 relative set yrange [0:*] set style histogram errorbars gap 0 lw 3 set style data histograms set xl原创 2013-06-19 08:10:31 · 4593 阅读 · 0 评论 -
GNUPLOT linespoints and save as pdf
set terminal postscript eps enhanced color font ',30' set yrange [0:1] set logscale x set xrange [200:100000] set grid set xlabel "flow duration (us)" set key bottom set output "| ps2pdf -dEPSCrop - w原创 2016-07-22 02:55:36 · 845 阅读 · 1 评论