标题: mathematics5绘图的一些问题 [打印本页] 作者: vikingnewton 时间: 2010-4-10 21:47 标题: mathematics5绘图的一些问题 在用mathematics 5画tan[x]图像时,输入In[23]:=Plot[tan[x],{x,-10,10}]/ K" H P9 @5 C) |$ ]
不管怎么取最值,都是显示; x# ?% t1 c( r, b" V. I
( O8 L' r7 }" O9 J/ P" r3 [; D
-Plot::plnr : ) h" \9 Q4 S0 k7 O2 m' r6 P tan[x] is not a machine-size real " o# d3 M) i4 o1 y/ E0 I; i; ~ number at x =-0.785398& V: f# W" b/ Z9 X2 i
-Plot::plnr : " F+ E2 b6 b3 D# R tan[x] is not a machine-size real & ]3 [# S( F: K5 w. j8 ?& m number at x =-0.7216764 a- b1 x( ~2 Q
-Plot::plnr :1 x q9 \. O. r* O
tan[x] is not a machine-size real / Y4 w7 K& }2 D) T number at x =-0.652181 5 a% r: r5 _% O& @9 k- O-General::stop :6 j5 d" W5 U" ]0 T Q7 y" ~4 v u
Further output of Plot::plnr will z. B9 u) T- v1 m* A5 s be suppressed during7 J( Y* K" x1 w! A& H. z) h
this calculation.5 l$ ?' ?- @$ v. q" d" h# C7 M% ?& u. [
然后出现坐标系,什么都没有,有没有人能解释一下,或告诉我该怎么画 1 O' d& \( y% b/ B6 E' @$ }" b因为tan[x]这样的函数肯定有无穷大的值,如果这么说的话是不是mathematics画不了这类函数?作者: olh2008 时间: 2010-4-10 22:56
你犯了一个初学Mathematica的人很容易犯的错误, tan[x]不对,应该是Tan[x],用Mathematica一定要注意内置函数的首字母,大写哦作者: vikingnewton 时间: 2010-4-11 10:18
谢谢~: m- ^8 V& Z6 p- b# K
改过来了。。。。。。。。。。。。。。。作者: 浩星无恨 时间: 2010-12-4 00:23
顶一下......