标题: mathematics5绘图的一些问题 [打印本页] 作者: vikingnewton 时间: 2010-4-10 21:47 标题: mathematics5绘图的一些问题 在用mathematics 5画tan[x]图像时,输入In[23]:=Plot[tan[x],{x,-10,10}] ) E/ u- c2 W: ^不管怎么取最值,都是显示0 R& ]2 u' r+ Y* x: |. q
& i9 G' z: D, d) p+ t! E) L1 S# T
-Plot::plnr :/ b+ Q" C6 H! J# c5 Q8 J! ]
tan[x] is not a machine-size real . b' u! h9 p/ c) Z8 z5 Y number at x =-0.785398 ) G+ `; ~7 |8 {-Plot::plnr :; P, W( m- {, |" H" t9 g
tan[x] is not a machine-size real / `' w7 p7 T y" B" |7 e8 ^ number at x =-0.721676& Y; ]- B z7 x
-Plot::plnr :, }$ p8 ~4 P) q h r7 [& |0 t
tan[x] is not a machine-size real " C5 d* k: ^% ^
number at x =-0.6521817 U, D: n( R4 B8 Q2 M, O) Y
-General::stop : * C* k% f9 k3 k6 h) ]; N2 \% r Further output of Plot::plnr will6 b) ^- M4 M" Q; I4 X3 Q! S6 D
be suppressed during 9 y4 E& I; m7 k! T' P5 B this calculation. . Q" P- b) T, W2 ^+ f" p" [$ f/ h0 N然后出现坐标系,什么都没有,有没有人能解释一下,或告诉我该怎么画 E: R. Z% a( f
因为tan[x]这样的函数肯定有无穷大的值,如果这么说的话是不是mathematics画不了这类函数?作者: olh2008 时间: 2010-4-10 22:56
你犯了一个初学Mathematica的人很容易犯的错误, tan[x]不对,应该是Tan[x],用Mathematica一定要注意内置函数的首字母,大写哦作者: vikingnewton 时间: 2010-4-11 10:18
谢谢~% v/ q+ ?! t5 m! U4 j
改过来了。。。。。。。。。。。。。。。作者: 浩星无恨 时间: 2010-12-4 00:23
顶一下......