标题: mathematics5绘图的一些问题 [打印本页] 作者: vikingnewton 时间: 2010-4-10 21:47 标题: mathematics5绘图的一些问题 在用mathematics 5画tan[x]图像时,输入In[23]:=Plot[tan[x],{x,-10,10}]4 Y1 W$ j8 ?! y5 e) E) W
不管怎么取最值,都是显示 . c/ U1 D9 X t! l, x1 ~# z: ^0 o) d$ K( S
-Plot::plnr :, Y( X" `, d' }& g
tan[x] is not a machine-size real % Z/ q6 n( c1 k5 `' Z+ X
number at x =-0.785398 : f1 u$ I- o6 a, Z-Plot::plnr :/ w! X/ ^5 I& [3 [1 `6 p4 ]- u
tan[x] is not a machine-size real * [- V4 V2 |6 x& D# J Q2 W; P
number at x =-0.721676; [$ {" m- w* @& |3 w
-Plot::plnr : 9 F7 R7 m) O. p, b, P tan[x] is not a machine-size real 3 v) M7 f* k8 v% l
number at x =-0.652181 ~1 ]; @% F5 c# R! L3 O-General::stop : $ p- X+ i' [4 O* h2 U Further output of Plot::plnr will 3 S& ~+ p3 L! b1 p& U5 O5 \ be suppressed during, h% y3 V! N' V% ^
this calculation. + i* `9 L0 P: W. \: W; G9 A t- y2 Y/ G然后出现坐标系,什么都没有,有没有人能解释一下,或告诉我该怎么画% [5 f6 o: A8 b* K: K
因为tan[x]这样的函数肯定有无穷大的值,如果这么说的话是不是mathematics画不了这类函数?作者: olh2008 时间: 2010-4-10 22:56
你犯了一个初学Mathematica的人很容易犯的错误, tan[x]不对,应该是Tan[x],用Mathematica一定要注意内置函数的首字母,大写哦作者: vikingnewton 时间: 2010-4-11 10:18
谢谢~ 9 s' [# O8 W; o( g1 ^改过来了。。。。。。。。。。。。。。。作者: 浩星无恨 时间: 2010-12-4 00:23
顶一下......