|
|
|
|
W***o 发帖数: 6519 | 5 我有一个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... 阅读全帖 |
|
x*****9 发帖数: 48 | 6 要不楼上几位看看下面这个写手的水平如何?
Open letter in support of Chuan-Guo Xiao, MFile Format: PDF/Adobe Acrobat
September 29, 2010
To all:
We have all had the pleasure of knowing Dr. Chuan-Guo Xiao for many years.
He is an internationally respected surgeon-scientist who has made major
advances in the development of neuroregeneration to restore voiding and
bowel function. Dr. Xiao performed groundbreaking animal research in the
United States, demonstrating that a motor nerve that innervates the leg can
be used to |
|
|
p********t 发帖数: 1219 | 8 另有少量Sapphire points,可以根据买家购票需要transfer到UA账户凑齐32.5k。
接受BOA付款,
有意者请回站内信箱。谢谢。 |
|
|
|
c**********e 发帖数: 236 | 11 就是按字面理解?说你说我?
http://media.kotoo.com/mfiles/237705/237705_2007-12-25-15-40-16.mp3
Say you, say me
Say it for always
That s the way it should be
Say you, say me
Say it together, naturally
I had a dream, I had an awesome dream
People in the park
Playing game in the dark
And what they played
Was a masquerade
But from behind the walls of doubt
A voice was crying out
Say you, say me
Say it for always
That s the way it should be
Say you, say me
Say it together, naturally
As we go down life s lonesome |
|
|
s*****o 发帖数: 1262 | 13 昨天尝试把很多新的m file放在一个目录下,一开始那些function都可以调用,虽然会
出错,后来忽然就不行了,说undifined variable or function ‘xxx’。
现在,连这样简单的m file都不能执行了(以前可以的):
data=dlmread('11-34-22.txt','\t',1,0);
dt=1/25;
time=dt:dt:length(data)*dt;
orange=[1.0 0.5 0.2];
plot(time,data(:,3),'r');
hold on;
plot(time,data(:,4),'Color',orange);
plot(time,data(:,5),'y');
plot(time,data(:,6),'g');
plot(time,data(:,7),'b');
hold off;
报错,说undifined function or variable 'test.m'
请问除了什么问题? 我都没有define function 阿,只是执行一系列储存在mfile里的
命令而已阿 |
|
h**********c 发帖数: 4120 | 14 这个题,我大致的思路出来了,
你如果还没有答案,就回一下,
把数据样本给我,
我会给你一个matlab function (我自己写的mfile).
给点伪币就行。 |
|
|
|
|