由买买提看人间百态

topics

全部话题 - 话题: linewidth
1 (共1页)
i***g
发帖数: 551
1
用subfig这个package,大概是这个样子的:
\begin{figure}
\subfloat[][]{
\label{fig:xxx:a}
\begin{minipage}[b]{0.45\linewidth}
\centering \includegraphics[width=\linewidth]{img/xxx}
\end{minipage}}
\hfill
%
\subfloat[][]{
\label{fig:xxx:b}
\begin{minipage}[b]{0.45\linewidth}
\centering \includegraphics[width=\linewidth]{img/xxx}
\end{minipage}}\\
%
\subfloat[][]{
\label{fig:xxx:c}
\begin{minipage}[b]{0.45\linewidth}
\centering \includegraphics[width=\linewidth]{img/xxx}
\end{minipage}}
\hfill
%
\subfloat[][]{
\
y**b
发帖数: 10166
2
下面代码画figure,里面有两幅图片,形成上下布局,但是之间靠得太近。
怎么加大距离呢?
\begin{figure}[!htbp]
\centering
\begin{minipage}[t]{0.80\linewidth}
\begin{center}
\includegraphics[angle=0,width=0.95\linewidth]{../figures/friction_compare.
eps}\\
(a)
\end{center}
\end{minipage}\hfill
\begin{minipage}[t]{0.80\linewidth}
\begin{center}
\includegraphics[angle=0,width=0.95\linewidth]{../figures/positionz_compare.
eps}\\
(b)
\end{center}
\end{minipage}\hfill
\caption{Effect of mass proportional damping: (a) horizontal friction force,
n*s
发帖数: 752
3
来自主题: TeX版 - graph question
i tried this, seems to work:
\begin{minipage}[t]{\linewidth}
\parbox[t]{0.6\linewidth}{what i want to say........... }
\hfill
\begin{minipage}[t]{0.3\linewidth}
\mbox{\includegraphics[width=3cm]{mpe.eps}}
\end{minipage}
\end{minipage}
a**e
发帖数: 5794
4
来自主题: TeX版 - 图表混排的问题
\begin{figure}[htb]
\begin{minipage}[b]{0.5\linewidth}
\centering
\includegraphics[width=0.8\linewidth]{graphic}
\caption{This is a Figure by a Table}
\label{fig:by:table}
\end{minipage}%
\begin{minipage}[b]{0.5\linewidth}
\centering
\begin{tabular}{|c|c|} \hline
Day & Data \\ \hline\hline
Monday & 14.6 \\
Tuesday & 14.3 \\
Wednesday & 14.2 \\
Thursday & 14.5 \\
Friday & 14.9 \\ \hline
\end{tabular}
\captionof{table}{This is a Table by a Figure}
\label{table:by:fig}
\end{minipage}
\end{figure}
t*******r
发帖数: 22634
5
来自主题: Parenting版 - 小学数学问题请教
我用 gnuplot 画了你的第一张红线图。不过 gnuplot 只能上直角坐标系了,
对称美只能将就一下,懒人首先是省事!!!。。。gnuplot code 见下面,
图见附件:
set xrange [ 0 : 9 ] ; set yrange [ 0 : 5 ] ; set grid ;
plot 12-x linecolor -1 linewidth 3 ;
set style arrow 1 linecolor 1 linewidth 3 size 0.3, 10;
set arrow 1 from 0,0 to 0,5 as 1 ;
set arrow 2 from 0,5 to 5,0 as 1 ;
set arrow 3 from 5,0 to 5,5 as 1 ;
set arrow 4 from 5,5 to 9,1 as 1 ;
set arrow 5 from 9,1 to 0,1 as 1 ;
set arrow 6 from 0,1 to 1,0 as 1 ;
set arrow 7 from 1,0 to 1,5 as 1 ;
set arrow 8 fr... 阅读全帖
c*****u
发帖数: 530
6
来自主题: TeX版 - subfigure的问题。
想把两张图竖着排列在一个figure里面。用了subfigure,编译没问题,可是就是无法
正确的显示。
大家帮我看看我的code有没有问题:
\begin{figure*}
\centering
\subfigure[a]{
\label{fig:P1}
\includegraphics[width=.7\linewidth]{p1.eps}
}
\subfigure[b]{
\label{fig:P2}
\includegraphics[width=.7\linewidth]{p2.eps}
}
\caption{the caption}
\label{fig:cases}
\end{figure*}
b*********n
发帖数: 173
7
来自主题: TeX版 - 插图问题
\begin{figure}
\begin{minipage}[b]{0.45\linewidth}
{My Text and Equations goes here}
\end{minipage}
\hspace{0.5cm}
\begin{minipage}[b]{0.45\linewidth}
\centering
\includegraphics[width=6cm]{abc}
\caption{En liten bild till}
\end{minipage}
\end{figure}
reference: http://www.tug.org/pipermail/tugindia/2005-November/003689.html
k**f
发帖数: 372
8
来自主题: TeX版 - 插图问题
using the graphicx package, then
\begin{figure}
\centering
%%----start of first figure----
\begin{minipage}[t]{0.4\linewidth}
\centering
\includegraphics[width=1in]{graphic}
\caption{Small Box} \label{fig:side:a}
\end{minipage}%
\hspace{1cm}%
%%----start of second figure----
\begin{minipage}[t]{0.4\linewidth}
\centering
\includegraphics[width=1.5in]{graphic}
\caption{Big Box} \label{fig:side:b}
\end{minipage}
\end{figure}
Example extracted from Part V, section 28 of this document
http://tug.ctan
m******i
发帖数: 32
9
来自主题: TeX版 - 插图问题
this code outputs "Figure 1: Small Box"
is it possible to get "Fig.1. Small Box"?

using the graphicx package, then
\begin{figure}
\centering
%%----start of first figure----
\begin{minipage}[t]{0.4\linewidth}
\centering
\includegraphics[width=1in]{graphic}
\caption{Small Box} \label{fig:side:a}
\end{minipage}%
\hspace{1cm}%
%%----start of second figure----
\begin{minipage}[t]{0.4\linewidth}
\centering
\includegraphics[width=1.5in]{graphic}
\caption{Big Box} \label{fig:side:b}
\end{minipage}
\end
r********d
发帖数: 58
10
来自主题: Chemistry版 - 请教一个NMR问题
The motions of the molecules in solution average out many anisotropic
interactions, thus the linewidth is on the scale of Hz. For solid-state, all
the anisotropic interactions are present, thus the line width is several
orders bigger than solution NMR line width. Magic-angle spinning (MAS) can
greatly improve the resolution(narrow the linewidth) by averaging out the
chemical shift anisotropy,dipolar-dipolar coupling,first order quadrupolar
interaction to certain extent. But the resolution is sti... 阅读全帖
r********d
发帖数: 58
11
来自主题: Chemistry版 - 请教一个NMR问题
The motions of the molecules in solution average out many anisotropic
interactions, thus the linewidth is on the scale of Hz. For solid-state, all
the anisotropic interactions are present, thus the line width is several
orders bigger than solution NMR line width. Magic-angle spinning (MAS) can
greatly improve the resolution(narrow the linewidth) by averaging out the
chemical shift anisotropy,dipolar-dipolar coupling,first order quadrupolar
interaction to certain extent. But the resolution is sti... 阅读全帖
o******e
发帖数: 1001
12
来自主题: EE版 - 问一个matlab画图的问题
用surf函数画了一个三维图,把图copy 到ppt slide上,转换成pdf文件,在pdf文件里
看的时候,major grid还是很清晰的,问题是一打印到打印纸上,major grid就很不清
晰,怎么才能调整major grid的linewidth?我只能找到调整axis的grid linewidth.谢
谢!
o******e
发帖数: 1001
13
【 以下文字转载自 EE 讨论区 】
发信人: onehouse (whitehouse), 信区: EE
标 题: 问一个matlab画图的问题
发信站: BBS 未名空间站 (Sat Jan 23 11:59:31 2010, 美东)
用surf函数画了一个三维图,把图copy 到ppt slide上,转换成pdf文件,在pdf文件里
看的时候,major grid还是很清晰的,问题是一打印到打印纸上,major grid就很不清
晰,怎么才能调整major grid的linewidth?我只能找到调整axis的grid linewidth.谢
谢!
y******h
发帖数: 11
14
来自主题: Science版 - Re: 2-micron IR source?
It depend on your requirements for the light source.
If you don't care much about the linewidth, then LED is suitable because it is
much more cheaper that laser diode. But if you need narrow linewidth, you only
have to use a laser diode.
Nowadays, LD is not so expensive as before. As I remember an ordinary multimode
LD will cost only about 100 dollars. I thinks you can afford it.
l**********n
发帖数: 72
15
From Heisenberg uncertainty principle, you could do an order of magnitude
estimation. The linewidth should be around 10 kHz. The quantum efficency is
basically how much you get vs. how much you pump.
So, the triplet life time determines the natural linewidth and the quantum
efficiency gives you the comparable peak value of the absorption spectrum.
c**p
发帖数: 32
16
set(gca,'FontSize',16);
plot(x1,y1,'r:',x2,y2,'b-.','LineWidth',2);
W***o
发帖数: 6519
17
来自主题: Programming版 - 咋用python做一个3D surface plot? 请教
我有一个csv文件,里面有多行多栏的数据,我想把这些数据通过3D surface plot表述
出来(x轴坐标就用第一列每行的cell 内容,比如Log1, Log2...; y轴就用第一行的cell
content (Sample1, Sample2 ...),z就用下面表格里的数据。我想到用matplotlib,
但是又不太会用,想请教一下。
Measure# Sample1 Sample2 Sample3 Sample4 Sample5
Log1 2.3 3.3 4.5 5.6 6.7
Log2 3.5 6.7 10.0 22.1 30
Log3 4.2 4.5 6.7 8.9 9.1
Log4 4.5 8.9 10.2 11.8 14.7
import csv
from matplotlib import pyplot as plt
import pylab
import numpy as np
from mpl_toolkits.mplot3d import Axes3D
csv_file_path='/path/to/my/C... 阅读全帖
n*********u
发帖数: 34
18
来自主题: TeX版 - latex插图求助
latex 中间插图源码如下:
\begin{figure}[]
\centering
\begin{parbox}{
\begin{tabular}{cc}\\
\includegraphics[width=6cm]{CP5_figs/girl_happy.eps} &
\includegraphics[width=6cm]{CP5_figs/girl_mouth.eps} \\
(a)& (b)
\end{tabular}
}\end{parbox}\\
\begin{parbox}[h]{0.72/linewidth}{
\begin{tabular} {cc}
\includegraphics[width=6cm]{CP5_figs/girl_smile.eps} &
\includegraphics[width=6cm]{CP5_figs/girl_waa.eps} \\
(c)& (d)
\end{tabular}
}\end{parbox}
\caption{The first group input pictures for
distance-based metam
F**p
发帖数: 1046
19
来自主题: TeX版 - 如何在table里面插入图?
table里面可不可以插入图片?我直接把文字替换成 \includegraphics, 好像不work.
自己顶一下吧:
一个简单的table:
\begin{tabular}{|c|c|}
1 & 2 \\
3 & 4 \\
\end{tabular}
插入一个简单的图片:
\begin{tabular}{|c|c|}
\includegraphics[width=0.25\linewidth]{Fig/fig123.eps} & 2 \\
3 & 4 \\
\end{tabular}
我原来加上了\begin{figure} \end{figure}, 始终也compile不过。
S**I
发帖数: 15689
20
来自主题: TeX版 - 求助 如何给公式加边框?
inline mode: \fbox{$...$}
display mode:
\fbox{\parbox{\linewidth}{
\begin{equation}
...
\end{equation}
}}
S**I
发帖数: 15689
21
来自主题: TeX版 - latex slides 标题下划线
\rule{\linewidth}{0.5pt}
y****e
发帖数: 1012
22
来自主题: TeX版 - 请教一个gnuplot画图问题
set key outside right top vertical Right noreverse enhanced autotitles box l
inetype -1 linewidth 1.000
b*******t
发帖数: 33714
23
来自主题: TeX版 - tikz 可否独立编译成 pdf
\documentclass[tightpage]{standalone}
\usepackage{varwidth}
\begin{document}
\begin{varwidth}{\linewidth}
blah
\end{varwidth}
\end{document}
这样的效果?
t******y
发帖数: 147
24
update一下,我改用
begin{theorem}
..............................
begin{minipage}[t]{linewidth}
begin{itemize}
item ........................
end{itemize}
end{minipage}
..............................
end{theorem}
这下iteminze中的文字和公式都没有超过rightmargin,但是minipage之前的文字被
stretch到整行了。有什么命令可以防止文字被full stretch吗?
c****r
发帖数: 576
25
来自主题: Biology版 - Math/Systems/Synthetic Biology 人物榜
最简单的Logistic Map: X(n+1) = r*X(n)*(1-X(n))
function x = orbit(x0,r1,r2,m,n)
% draw the orbit diagram when r(lambda) change, nesting function iter.m
% orbit(x0,r1,r2,m,n)
% x0: initial condition
% r1 % m: the sampling times between the r interval
% n: the iteration times for the logistic equation, in reality, n is the
% number of time points
if r1>=r2
error('r1 should be smaller than r2!!!');
else
if m==1
x = zeros(1,n);
x(1,:) = iter(r1,x0,n);
pl... 阅读全帖
p****s
发帖数: 3153
26
来自主题: Biology版 - nmr 做蛋白结构的前途
ppm是相对值,跟磁场强度无关,要不不同场下的谱怎么比较?如果分不开就用高维呗
,三维以上怎么样都分开了
如果您是说linewidth,那是另一个问题,可能跟磁场稍微有点关系,但是主要还是看
蛋白的动力学性质
a**a
发帖数: 63
27
来自主题: Computation版 - 如何在Matlab中在image上叠加contours?
change step 2) to:
2)hold on;
contour(x,y,my 2D value array,'r', 'linewidth',2);
J****T
发帖数: 29
28
最近一个项目要用到信号处理方面的知识,算是跨界应用吧, 不是很深入, 只是借助基
本理论.
我想用power spectrum分析比较几个数值序列(降雨值, 都是正的, 长度一样),我
google到的方法是先傅立叶转换, 然后plot频率与功率的对比图, 思路是这样吗?
我在Matlab写的code是:
Polar=load('E:\polar0605_alg3_1min_mean.txt');
Y1=fft(polar);
N1=length(Y1);
power1 = abs(Y1)/(N1/2); % absolute value of fft
power1 = power1(1:N1/2).^2; % power of positive freq. half
freq1 = [0:N1/2-1]/T; % find the corresponding frequency in Hz
plot(freq1,power1, 'r', 'linewidth', 1);
===========================================
得出来的东西不知道对不对,... 阅读全帖
J****T
发帖数: 29
29
最近一个项目要用到信号处理方面的知识,算是跨界应用吧, 不是很深入, 只是借助基
本理论.
我想用power spectrum分析比较几个数值序列(降雨值, 都是正的, 长度一样),我
google到的方法是先傅立叶转换, 然后plot频率与功率的对比图, 思路是这样吗?
我在Matlab写的code是:
Polar=load('E:\polar0605_alg3_1min_mean.txt');
Y1=fft(polar);
N1=length(Y1);
power1 = abs(Y1)/(N1/2); % absolute value of fft
power1 = power1(1:N1/2).^2; % power of positive freq. half
freq1 = [0:N1/2-1]/T; % find the corresponding frequency in Hz
plot(freq1,power1, 'r', 'linewidth', 1);
===========================================
得出来的东西不知道对不对,... 阅读全帖
s****n
发帖数: 212
30
1, what effect will using an 900MHz NMR rather than a 300MHz NMR spectrometer
have on the linewidths of a molecule with a molecular weightof (1)1000;
(2)10,000;
Why?
2,Explain why small molecules(MW<500 Da)GENERALLY HAVE more narrow resonances
than large molecules(MW>3000 Da)?
3,Explain why moderately large molecules(MW in a range of
1000-10,000)GENERALLY HAVE more narrow resonances than very large
molecules(MW>100,000 Da)
非常谢谢!
m******t
发帖数: 273
31
【 以下文字转载自 Statistics 讨论区 】
发信人: myregmit (myregmit), 信区: Statistics
标 题: long time generating gamma distribution in python
发信站: BBS 未名空间站 (Thu Mar 13 19:04:24 2014, 美东)
I need to generate a truncated gamma distribution pdf curve and histogram in
python 3.
2 on win7.
import numpy as np
import matplotlib.pyplot as plt
import scipy.special as sps
shape, scale = 2., 2. # mean and dispersion
counter =0
s = []
upper_bound = 4
lower_bound = 0.5
while (counter <= 1000):
t = np.random.gamma(shape, ... 阅读全帖
c******a
发帖数: 159
32
来自主题: Physics版 - 问个Uncertainty principle的问题
很多书(到目前为止我看过的所有的书)谈到Hysenberg natural linewidth的时候(
in a two-level decay system, from excited state to ground state),用了这个
公式Delta E * Delta t = hbar. Delta E定义为FWHM,Delta t为激发态的mean life.
我很纳闷大于号去哪儿了??为什么直接取了等于号???为什么不是Delta E * Delta t >
= hbar,而是Delta E * Delta t = hbar? Delta E * Delta t = hbar是正确的吗?
In other words, under what condition is equality in uncertainty principle
reached? (BTW, when equality is reached, the state is called minimum
uncertainty state, or 'squeezed' state.)
a*****e
发帖数: 4577
33
假设一个材料的某个模式,比如Si的LTO mode
如果IR active 而且是 Raman Active
是不是其linewidth本质上是一样的?
m******t
发帖数: 273
34
【 以下文字转载自 Statistics 讨论区 】
发信人: myregmit (myregmit), 信区: Statistics
标 题: long time generating gamma distribution in python
发信站: BBS 未名空间站 (Thu Mar 13 19:04:24 2014, 美东)
I need to generate a truncated gamma distribution pdf curve and histogram in
python 3.
2 on win7.
import numpy as np
import matplotlib.pyplot as plt
import scipy.special as sps
shape, scale = 2., 2. # mean and dispersion
counter =0
s = []
upper_bound = 4
lower_bound = 0.5
while (counter <= 1000):
t = np.random.gamma(shape, ... 阅读全帖
m******t
发帖数: 273
35
I need to generate a truncated gamma distribution pdf curve and histogram in
python 3.2 on win7.
The following program is correct ?
import numpy as np
import matplotlib.pyplot as plt
import scipy.special as sps
shape, scale = 2., 2. # mean and dispersion
counter =0
s = []
upper_bound = 4
lower_bound = 0.5
while (counter <= 1000):
t = np.random.gamma(shape, scale)
if (lower_bound <= t <= upper_bound) :
s.append(t)
counter += 1
count, bins, ignored = plt.hist(s, 50, normed... 阅读全帖
1 (共1页)