由买买提看人间百态

topics

全部话题 - 话题: plot
1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
b*******d
发帖数: 353
1
我猜你这里的df是指dataframe?
http://pandas.pydata.org/pandas-docs/stable/generated/pandas.Da
里面的kind有
kind : str
‘line’ : line plot (default)
‘bar’ : vertical bar plot
‘barh’ : horizontal bar plot
‘hist’ : histogram
‘box’ : boxplot
‘kde’ : Kernel Density Estimation plot
‘density’ : same as ‘kde’
‘area’ : area plot
‘pie’ : pie plot
‘scatter’ : scatter plot
‘hexbin’ : hexbin plot
l**********1
发帖数: 5204
2
来自主题: Biology版 - 如何做microarray的scatter plot图?
pls refer
> posted on FRIDAY, JULY 6, 2012
Fix Overplotting with Colored Contour Lines
I saw this plot in the supplement of a recent paper comparing microarray
results to RNA-seq results. Nothing earth-shattering in the paper - you've
probably seen a similar comparison many times before - but I liked how they
solved the overplotting problem using heat-colored contour lines to indicate
density. I asked how to reproduce this figure using R on Stack Exchange,
and my question was quickly answered b... 阅读全帖
s********1
发帖数: 54
3
来自主题: Statistics版 - How to make image.plot in sas
I wonder whether SAS can make the plots in the attachment. i have two plots
. The left plot is to paste all the numbers of z to
the corresponding x-axis and y-axis. I want to see the numbers instead of
symbols. For the right plot, I hope I can create a image
lot or color plot which can imply the values of z by using the colors. Note
that I do not want to show z=-1 for both of these two
o plots and I want to show the text, "number of bugs", on the right of color
scale. Can SAS create this type of... 阅读全帖
S******y
发帖数: 1123
4
I have x, y two variables and I can successfully plot them in R -
plot(x,y)
It looked OK. However, it would be nice to change it into a contour-
like scatter plot (or density scatter plot or heat scatter plot).
Can anybody tell me a simple way to do that?
Thanks!!
r****y
发帖数: 1437
5
来自主题: Physics版 - ask a mathematica plotting quesiton
【 以下文字转载自 Computation 讨论区 】
发信人: rossby (五十岚已夜), 信区: Computation
标 题: ask a mathematica plotting quesiton
发信站: BBS 未名空间站 (Tue Feb 19 11:39:14 2008), 转信
Have to use mathematica to plot functions, not sure its plotting
function before.
If I have 4 curves to plot on the same chart, how I can let
them being plotted in different colors? This is very easy to do in matlab (
just the default). In Mathematica, seems not default. Thanks.
d*2
发帖数: 2053
6
http://www.gospelherald.com/articles/64017/20160510/frozen-2-pl
Frozen 2 is currently in the works after Disney confirmed it earlier this
year. However, there are complaints about the rumored lesbian love story
angle in the movie. Some fans are worrying about its impact on children. Now
, here's the latest round-up of update about Frozen 2 plot and release date.
According to a Telegraph report, a Twitter user known as Alexis Isabel
started the discussion about the movie's LGBT story line. Her po... 阅读全帖
r****y
发帖数: 1437
7
来自主题: Computation版 - ask a mathematica plotting quesiton
Have to use mathematica to plot functions, not sure its plotting
function before.
If I have 4 curves to plot on the same chart, how I can let
them being plotted in different colors? This is very easy to do in matlab (
just the default). In Mathematica, seems not default. Thanks.
d*****o
发帖数: 2868
8
来自主题: EE版 - how to plot z=1+0.25j on matlab?
im trying to do my dsp hw and one of the problems in the hw is asking me to
plot z=1+0.25*j
i tried to do
z=1+0.25*j;
plot (z)
but the vector is not showing up on the plot, any1 knows why? 1 is the real
part, 0.25j is the imaginary part. So if u graph it on a sheet paper, the
vector goes in the ne direction, the slope of the vector is .25. But I am
having trouble making matlab to make the plot. :(
J*****n
发帖数: 4859
9

say I have two vectors x and y.
I would like to use plot function only.
plot(x)
then plot(y) will give the graphic in the new chart.
What function I should use to let R to plot y in the previous chart without
cleaning the old one.
Thank you.
p*****c
发帖数: 58
10
来自主题: Statistics版 - SAS plot question
Currently in SAS plot, we can plot a scatter plot of y and x (for a
regression).
Now I want to add the predicted y_hat as a line, upper confidence interval
as a line, and lower confidence interval as another on the same scatter plot
. How can I do it?
thanks,
a****1
发帖数: 654
11
Finally, it is coming
http://news.yahoo.com/u-says-iran-tied-terror-plot-washington-d
FBI and DEA agents have disrupted a plot to commit a "significant terrorist
act in the United States" tied to Iran, federal officials told ABC News
today.
The officials said the plot included the assassination of the Saudi Arabian
ambassador to the United States, Adel Al-Jubeir, with a bomb and subsequent
bomb attacks on the Saudi and Israeli embassies in Washington, D.C. Bombings
of the Saudi and Israeli embas... 阅读全帖
z*****a
发帖数: 3809
12
【 以下文字转载自 Military 讨论区 】
发信人: zhubaba (zhubaba), 信区: Military
标 题: Chinese Separatists Tied to Norway Bomb Plot
发信站: BBS 未名空间站 (Sun Jul 11 22:20:30 2010, 美东)
http://www.nytimes.com/2010/07/10/world/asia/10uighur.html
Chinese Separatists Tied to Norway Bomb Plot
By EDWARD WONG
BEIJING — The arrests on Thursday of three men in Norway and Germany
accused of orchestrating a terrorist bomb plot seemed like another
routine raid by a Western government in the continuing campaign against
groups linked
s*********x
发帖数: 1923
13
来自主题: Programming版 - R plot hel...
Hi, guys, hope you can help me out.
So I have two set of data and want to plot them in the same figure, maybe
with different color.
what I am doing right now is : plot( A~ B), but when I submit plot( C~B). R
will replace the A~B figure. Is
there anyway we can put all the points in the same figure?
Thanks!
x******0
发帖数: 1490
14
【 以下文字转载自 Statistics 讨论区 】
发信人: xzxz0000 (凶涨凶涨), 信区: Statistics
标 题: 还有一道plot题,希望见多识广的大侠解释解释。
发信站: BBS 未名空间站 (Sat Apr 14 20:34:26 2012, 美东)
What property of integers is depicted by the following plot? (What function
generates this plot?)
s******s
发帖数: 13035
15
经常有这个需要,比如做population stratefication或者其他molecular profiling的
时候,
1. 有10000个点,每个点有x, y ,可以在2D plot上显示出来。
2. 有或者没有一些已知classification的点,比如1000个点,知道population的分类,
可以通过不同的颜色在2D plot上显示
需要可以通过鼠标在plot选不同的区域用人眼classify,然后最后告诉我每个点在那个
cluster.
我知道有些R/python可视化package应该可以实现这个,不过有没有具体的sample code。
如果有现成的工具或者网站那就更好了。
另外,就population stratefication来说,有没有啥根据smartpca好的classifier?
我试了
一下knn, 对1kg的选择还行,对我的population assignment看起来有很多不对的地方。
感觉上可能手动更加准一点,也在看看tsne等其他方法,大家有推荐方法么?
s*****y
发帖数: 27
16
来自主题: Computation版 - how to plot the matrix in GNUplot?
thanks so much,tlenet.
I want to plot a 2D graph,in my matrix file, all elements are 0 or 1, so I
need to plot all 1s,and discard all 0s, how do I do? like sequence match,if
two sequence are match, then plot a dot , if not match, then ignore.
thanks .

to
d**********e
发帖数: 72
17
Arrests in New York 'attack plot'
Four men have been arrested over alleged plots to attack targets in New York
, US prosecutors say.
The men were planning to blow up a Jewish synagogue in the Riverdale area of
the Bronx, the district attorney said in a statement.
They were also plotting to shoot down military aircraft at Stewart Airport
in Newburgh, to the north of the city.
The group intended to use Stinger surface-to-air missiles to bring the
planes down, the statement said.
The men had been t
l*****k
发帖数: 587
18
来自主题: Statistics版 - How to selectively plot data in R
I guess you can write an easy function that takes arguement
like CA, AC or FL, subset it in function then do the plot
you can make your funciton accepts multiple arguments so you can
do more complex subset and plotting.
you can also let your program iterate through all the varialbes,
plot to pdf or jpg file, so it runs automatically.
S******y
发帖数: 1123
19
Does anybody know how to adding colors to data points in scatter plot in R?
I have the following R data frame -
Voter_Name, Education_years, Income, Registered
Ricky, 18, 40000, Y
Lisa, 20, 34000, N
Jon, 10, 35000, Y
...
I am doing a scatter plot in R for those data points - Income vs.
EducationYears.
I would also like to using different colors to differentiate whether that
data point is a Registered Voter or not.
Does anybody know how to adding colors to data points in scatter plot in R?
Thanks
g*******y
发帖数: 380
20
来自主题: Statistics版 - Modify the label of cdf plot in SAS?
Hi,all
I use the following code to generate the cdf plot:
proc univariate data=temp1 noprint;
var PPB;
by zone;
class type;
cdfplot PPB/overlay vref = 5 95
cvref = black
vreflabels = '5%' '95%' ;
run;
The goal it to get the overlapped plots of cumulative distribution frequency
of "PPB" in two different type by each zone.
Now I got those plots by zone, and the title is "cumulative distribution
function for PPB", how cou
z*****a
发帖数: 3809
21
http://www.nytimes.com/2010/07/10/world/asia/10uighur.html
Chinese Separatists Tied to Norway Bomb Plot
By EDWARD WONG
BEIJING — The arrests on Thursday of three men in Norway and Germany
accused of orchestrating a terrorist bomb plot seemed like another
routine raid by a Western government in the continuing campaign against
groups linked to Al Qaeda. But one detail stuck out: Norwegian officials
said one of the men was a Chinese Uighur, and all three supposedly
belonged to a group that advocate
x**h
发帖数: 173
22
来自主题: Faculty版 - How to make 3d plots in Matlab?
I have some image data of a mouse brain. The data consist of 256 slices and
each slice is a 256*256 grid. I can use imagesc to plot one slice at a time.
Could anyone tell me how to plot all slices simultaneously in the 3d space?
Any input will be appreciated.
N*T
发帖数: 414
23
来自主题: Faculty版 - How to make 3d plots in Matlab?
plot one slice on x-y plane, and then plot another slice by offset in z
direction.
If you use 3D functions, you only get surface, not slices.
My 2 cents. May not be 100% correct.

and
time.
space?
m********l
发帖数: 4394
24
4 Wis. women accused in lovers' quadrangle plot
By ROBERT IMRIE (AP) – 5 hours ago
WAUSAU, Wis. — A married man who planned to rendezvous with one of his
handful of lovers at an eastern Wisconsin motel instead found himself
bound, blindfolded and assaulted by a group of women out for revenge,
according to court documents.
Four women, including his wife, eventually showed up to humiliate the man,
who ended up with his penis glued to his stomach in a bizarre plot to
punish him for a lover's quadra
a**e
发帖数: 8800
25
【 以下文字转载自 USANews 讨论区 】
发信人: xavierok (Hermes), 信区: USANews
标 题: Boy Stops Murder Plot With Gun, Mother Raped, No Na
发信站: BBS 未名空间站 (Fri Mar 8 14:55:02 2013, 美东)
http://www.infowars.com/boy-stops-murder-plot-with-gun-national
3/8/2013. Here’s another pro-second amendment story that you will never see
on the
major news networks – a Texas boy who watched his sister and mother being
raped during a home invasion by two men who later abandoned a plan to murder
the three victims was able to grab a h... 阅读全帖
z**k
发帖数: 945
26
Google China Exit a ‘Deliberate Plot,’ State Researcher Says
Share Business ExchangeTwitterFacebook| Email | Print | A A A
http://www.bloomberg.com/apps/news?pid=20601087&sid=aF0lScmG4V1Y&pos=8
By Bloomberg News
March 25 (Bloomberg) -- Google Inc.’s decision to redirect its mainland
users to an uncensored Hong Kong site is a “deliberate plot” to promote
the “intrusive strategy” of the U.S. government under the guise of
supporting a free Internet, a researcher affiliated with China’s Cabinet
wrot
I****e
发帖数: 9
27
来自主题: Programming版 - C++ plotting libary
需要在C++里生产很简单的图,比如 x-y plot, bar plot 等等。不知有什么好的免费
的库。方便好用就行,不需要复杂的。谢谢。
b******8
发帖数: 31
28
【 以下文字转载自 DataSciences 讨论区 】
发信人: beijing8 (wakeng), 信区: DataSciences
标 题: 哪位大侠给推荐个scientific plotting lib/software
发信站: BBS 未名空间站 (Fri Mar 7 12:55:36 2014, 美东)
哪位大侠给推荐个scientific plotting lib/software:
免费的。
能处理大数据量(比如一张图上画好多xxoo...的散点)。
最好还能实时。
不需要fancy/publication style的美工。
总结一下就是:糙快猛,不要钱。
试了试 Python/matplotlib, 还有R,感觉不给力。
不知 gnuplot 如何?
b******8
发帖数: 31
29
【 以下文字转载自 DataSciences 讨论区 】
发信人: beijing8 (wakeng), 信区: DataSciences
标 题: 哪位大侠给推荐个scientific plotting lib/software
发信站: BBS 未名空间站 (Fri Mar 7 12:55:36 2014, 美东)
哪位大侠给推荐个scientific plotting lib/software:
免费的。
能处理大数据量(比如一张图上画好多xxoo...的散点)。
最好还能实时。
不需要fancy/publication style的美工。
总结一下就是:糙快猛,不要钱。
试了试 Python/matplotlib, 还有R,感觉不给力。
不知 gnuplot 如何?
W***o
发帖数: 6519
30
来自主题: 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... 阅读全帖
h****l
发帖数: 7290
31
来自主题: Software版 - Re: win2k下用什么plot软件?
Excel for simple plot
Tecplot for complex plot.
Y********x
发帖数: 322
32
来自主题: Software版 - how to draw plot without visio?
【 以下文字转载自 EE 讨论区 】
发信人: YaoMingRox (Let), 信区: EE
标 题: how to draw plot without visio?
发信站: BBS 未名空间站 (Sun Jul 26 22:15:50 2009, 美东)
in windows, what other free software can be used to draw plot? such as data
flow diagram?
l****e
发帖数: 137
33
I used c in plotting in dos, and I am
new with Linux, can
anyone tell me if it is possible that
run a program at the backgroud and plotting
graphic output at a certain area of X-windows or
just in another xterm?
Thanks
f****e
发帖数: 15
34
来自主题: Unix版 - help, matlab plot
要画两个图,我用了subplot function,但就是不知道怎样分别给两个图
加标题和坐标名称
我用的是
subplot(2,1,1)
title('title 1')
xlabel('x1')
ylabel('y1')
plot(y,x)
subplot(2,1,2)
tot;e('title2')
xlabel('x2')
ylabel('y2')
plot(y,x)
etc
l********r
发帖数: 187
35
I want to put plot figure into a ps file. For example script is as follows:
gset term postscript color
gset output 'temp.ps'
I=[1:1:30];
J=[1:0.5:30];
plot(I, 'r', J, 'b');
The result file "temp.ps" will contain two pages. How can i make it contain
only one page. Thanks.
l********r
发帖数: 187
36
来自主题: Unix版 - plot diff between matlab and octave
I notice there is uncompatibility in plot function between matlab and octave.
For example,
X=[1:1:100];
plot(X, '-b;a straight line;');
The above script will work perfect in octave, but in matlab, there will a
syntax error. Any one know how to solve this problem? Thanks.
q**********0
发帖数: 335
37
RT. the excel plot picture was distorted when it was copy-paste to
illustrator. However, if save the plot in photoshop as a "JPG" file, the pic
has no change, but the resolution is only 72 dpi, which can't used in paper
publication. How to resolve this problem?Thanks.
s******y
发帖数: 28562
38
是啊,里面的默认设置很傻的,彩图颜色也不会挑分得比较开的来assign,
经常是几个非常相近的颜色就那么往图里一堆,让你分都分不清谁是谁。
excel 里面要做box plot or dot plot 也很麻烦,还有里面那个error bar
的功能不好使,有时候经常就是给你一根竖线了事,而不是那个丁字型
的bar.
h********g
发帖数: 116
39
来自主题: Computation版 - 请问matlab plot如何动态更新
要在图像上画一条时时变化地线
如果
hold on;
plot([real(v); real(v(1))], [imag(v); imag(v(1))], 'go-');
会显示过程中所有的曲线
希望绘制的时候擦去上次plot的结果
也就是说只保留当前的结果和原始图像
该怎么做?
谢谢
x**h
发帖数: 173
40
来自主题: Computation版 - How to make 3d plots in Matlab?
I have some image data of a mouse brain. The data consist of 256 slices and
each slice is a 256*256 grid. I can use imagesc to plot one slice at a time.
Could anyone tell me how to plot all slices simultaneously in the 3d space?
Any input will be appreciated.
f******9
发帖数: 267
41
来自主题: Computation版 - correlation versus distance plot
请教一个问题,怎样用R画r2 versus distance的plot?就是每两列的correlation
versus 这两列distance差的图
比如:
12 23 24 26 29 30 32 41 43 46
A T T G C T G C A C
A T T G C T G C T T
A A T A C T G C A C
C A T G C T G C A T
A T T G C T G T A T
A T T G C T G T A T
数字是每个位点的位置,一共6条,怎样用R算出每两个位点间的r2, 然后再画出r2
versus distance的plot呢?谢谢啦!
m*p
发帖数: 1331
42
【 以下文字转载自 Programming 讨论区 】
发信人: mbp (Mac Book Pro), 信区: Programming
标 题: How to plot deformation field like this in Matlab?
发信站: BBS 未名空间站 (Tue Jul 19 10:31:46 2011, 美东)
Given the velocity vector field Vx, Vy, (e.g. inputs for matlab built-in function quiver() ) how to plot some deformation field in Matlab like this:
thanks!
w*****1
发帖数: 473
43
来自主题: Computation版 - 有关manhattan plot (转载)
【 以下文字转载自 Statistics 讨论区 】
发信人: wz99331 (dotti), 信区: Statistics
标 题: 有关manhattan plot
发信站: BBS 未名空间站 (Tue Nov 11 15:18:10 2014, 美东)
我用R package 'gap'画manhattan plot, 请问为什么横坐标总是为什么按照染色体顺
序排列,我的输入文件已经按照chromosome从1到21排列了(我画的是老鼠的样本,而
且也设置成数值类型了,为什么每次画出来都是1,12,13。。。。。19,2,3,。。
。9,10,11,20,21。谢谢!
w*****n
发帖数: 27
44
我的想法是先plot I, 让后plot dv/dt,接着C=I/(dv/dt),但感觉出来的图不大对劲。
c****p
发帖数: 6474
45
来自主题: EE版 - how to plot z=1+0.25j on matlab?
plot(z)只出一个点,很小。
想画出0到z之间的线段,试试plot([0,z])

to
real
z*******e
发帖数: 15
46
来自主题: EE版 - Help needed for plotting a graph
Hi all,
I need to plot such types of graph in two-dimension, for example, it
could be the union of all R_rho, 0=< rho <=1, P=constant,
R_rho = {R1 <= log(1+ rho^2*P), R2 <= log(1+ (1-rho^2)*P),
R1+R2 <= log(1+ P+ 2*rho*P)}
I would like to observe the boundary of the final region.
How could I plot this boundary? I tried matlab, using command "area", but
the whole area is colored.
Are there any better ways or tools to finish this?
Thanks.
s*****M
发帖数: 30
47
我感觉是不是open loop, close loop,bode plot作用是不一样的,主要针对于noise
的理解,还是noise不能用bode plot来理解,感觉自己犯了很愚蠢的错误但是不知道错
哪了
1.通常情况bandwidth越高,系统反应越快,所以对noise的rejection就好
2.但是对于一个最简单的RC low pass filter,应该是bandwidth越小就相当于cut-off
frequency越小对noise的rejection就越好
1和2 是完全相反的啊。。。我错哪了了?
t****t
发帖数: 147
48
来自主题: Macromolecules版 - How to make this kind of plot using Origin?
create two worksheets with two different datasets
plot the first data set
create a new layer on top
plot the second dataset on the new layer
S*********g
发帖数: 5298
49
来自主题: Physics版 - ask a mathematica plotting quesiton
Plot[f[x],PlotStyle->Red];
Plot[g[x],PlotStyle->RGBColor[0,0,1]];
Show[%,%%]
l*******l
发帖数: 204
50
pdf(file="xxx")
plot()
plot()
...
dev.off()
1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)