In URL tutorial/IntroductionToManipulate , the following works but Delimeter causes problems when I try to use it as shown below. Why, and what is the fix? Also, Why doesn't Text["Control a",TextAlignment->Center] work in Manipulate and how can I get "Control a" to be centered in its row?
In[]:=
Manipulate[ParametricPlot[{a1Sin[n1(x+p1)],a2Cos[n2(x+p2)]},{x,0,20Pi},PlotRange1,PerformanceGoal"Quality"],​​Style["Horizontal",12,Bold],{{n1,1,"Frequency"},1,4},{{a1,1,"Amplitude"},0,1},{{p1,0,"Phase"},0,2Pi},​​Delimiter,Style["Vertical",12,Bold],{{n2,5/4,"Frequency"},1,4},{{a2,1,"Amplitude"},0,1},{{p2,0,"Phase"},0,2Pi},ControlPlacementLeft]
Out[]=
​
Horizontal
Frequency
Amplitude
Phase
Vertical
Frequency
Amplitude
Phase
-1.0
-0.5
0.5
1.0
-1.0
-0.5
0.5
1.0
In[]:=
spaces=" ";Manipulate[{a,b,c},Evaluate[spaces<>"Control a"],Delimeter,{a,0.,10},Evaluate[spaces<>"Control b"],{b,0,10},Delimeter,Evaluate[spaces<>"Control c"],{c,0,10}]
Manipulate
:Manipulate argument Delimeter does not have the correct form for a variable specification.
Manipulate
:Manipulate argument Delimeter does not have the correct form for a variable specification.
Out[]=
Manipulate[{a,b,c}, Control a,Delimeter,{a,0.,10}, Control b,{b,0,10},Delimeter, Control c,{c,0,10}]
In[]:=
spaces=" ";Manipulate[{a,b,c},Evaluate[spaces<>"Control a"],{a,0.,10},Evaluate[spaces<>"Control b"],{b,0,10},Evaluate[spaces<>"Control c"],{c,0,10}]
Out[]=
​
Control a
a
Control b
b
Control c
c
{0.,0,0}