由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Physics版 - ask a mathematica plotting quesiton
相关主题
请问一个mathematica作图的问题问一个Mathematica的问题
请教大家一个matlab做图问题,郁闷疯掉了。怎么用diamond, square, circle等区分Mathematica 画图的曲线
提取数据请教弱问一个Mathematica的问题
请教关于三维相图Re: a question about mathematica
问个Origin的问题,望高人回答求助,这样的问题怎么处理
问个idl的问题,请高人指教理论物理PhD做什么好呢?
[合集] 问个Origin的问题,望高人回答 (转载)帮忙解决一个数学问题(解方程)
问个origin画图的问题 (转载)问作理论的:老板会帮助你推导一些公式吗?
相关话题的讨论汇总
话题: plotting话题: plot话题: quesiton话题: ask
进入Physics版参与讨论
1 (共1页)
r****y
发帖数: 1437
1
【 以下文字转载自 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.
S*********g
发帖数: 5298
2
Plot[f[x],PlotStyle->Red];
Plot[g[x],PlotStyle->RGBColor[0,0,1]];
Show[%,%%]

【在 r****y 的大作中提到】
: 【 以下文字转载自 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.

P*******t
发帖数: 202
3
如果是Mathematica 6, 每条曲线默认也是不同颜色。比如
Plot[{Sin[x], Cos[x], Sin[x] Cos[x], Cos[x]^2}, {x, -Pi, Pi}]

【在 r****y 的大作中提到】
: 【 以下文字转载自 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.

1 (共1页)
进入Physics版参与讨论
相关主题
问作理论的:老板会帮助你推导一些公式吗?问个Origin的问题,望高人回答
广义泛函积分怎么处理?问个idl的问题,请高人指教
mathematica 积分问题[合集] 问个Origin的问题,望高人回答 (转载)
mathematica 可以这样输出文件马问个origin画图的问题 (转载)
请问一个mathematica作图的问题问一个Mathematica的问题
请教大家一个matlab做图问题,郁闷疯掉了。怎么用diamond, square, circle等区分Mathematica 画图的曲线
提取数据请教弱问一个Mathematica的问题
请教关于三维相图Re: a question about mathematica
相关话题的讨论汇总
话题: plotting话题: plot话题: quesiton话题: ask