数学建模社区-数学中国
标题:
请问怎么才能将显性函数,和隐性函数都花在同一个Animate的图里?
[打印本页]
作者:
analysismath
时间:
2012-8-14 03:49
标题:
请问怎么才能将显性函数,和隐性函数都花在同一个Animate的图里?
比如 我有2个隐性函数 F(x, y), G(x, y), 还有一个显性函数 y=h(x),它们都是关于参数a的。
8 I$ w9 U7 M! b, j+ r& {# Q- c
" I- i6 u6 I" A
现在我需要做一个Animate动画,关于参数a。 在动画中,我需要F(x, y)的
多条
取不同值的ContourPlot,但是只需要G(x, y)=0的唯一一条ContourPlot,以及y=h(x)的一条曲线。
) ?1 h2 u/ U+ B
7 r3 Z5 x; r5 A, w- U
请问如何在Animate里实现?
作者:
sycxyc
时间:
2012-8-14 10:43
Animate[Show[{Plot[h[x], {x, xmin, xmax}], ContourPlot[{F[x], G[x, y] == 0}, {x, xmin, xmax}, {y, ymin, ymax},ContourShading -> None]}, PlotRange -> All], {a, amin, amax}]
作者:
analysismath
时间:
2012-8-14 22:51
多谢多谢! 现在可以了。
欢迎光临 数学建模社区-数学中国 (http://www.madio.net/)
Powered by Discuz! X2.5