2012-12-26 57 views
0

有沒有人知道我如何在show命令中使用Manipulate命令。基本上,我想在一個座標系上顯示多個功能。但是,我只希望其中一個被「操縱」(即其他人應該是靜態的)。 我無法理清如何一起使用Show和Manipulate。 感謝您的幫助! HRMathematica Manipulate函數

回答

2

如果您不希望操縱變量a在其中一個圖中簡單省略,

Manipulate[ 
Show[ 
    Plot[a x, {x, 0, 3.5}], 
    ListPlot[{1, 2/a, 3/a}]], 
{{a, 1}, 0, 2}]