Need help understanding NumTics
Posted: Tue Oct 09, 2007 3:39 pm
I am playing with the BTEST example for VB.NET. The command string in the example is
cmds = "[ManualScale(0,-1.25,4,1.25)][TickInterval(1,0.5,0.25)]"
cmds = cmds & "[Caption(" & Chr(34) & "DPLOTLIB XY Test" & Chr(34) & ")]"
cmds = cmds & "[Legend(1," & Chr(34) & "sin({\sp}x)" & Chr(34) & ")]"
cmds = cmds & "[Legend(2," & Chr(34) & "cos({\sp}x)" & Chr(34) & ")]"
cmds = cmds & "[DocMaximize()][ClearEditFlag()]"
If I change just the first line to:
cmds = "[ManualScale(0,-1.25,4,1.25)][NumTics(1,8,10)]", I'd think I would get the same plot. Instead I get an error message with the title "Error processing this command:" with the total command string in the message box.
What am I missing about the use of NumTics?
Thanks, Kenny
cmds = "[ManualScale(0,-1.25,4,1.25)][TickInterval(1,0.5,0.25)]"
cmds = cmds & "[Caption(" & Chr(34) & "DPLOTLIB XY Test" & Chr(34) & ")]"
cmds = cmds & "[Legend(1," & Chr(34) & "sin({\sp}x)" & Chr(34) & ")]"
cmds = cmds & "[Legend(2," & Chr(34) & "cos({\sp}x)" & Chr(34) & ")]"
cmds = cmds & "[DocMaximize()][ClearEditFlag()]"
If I change just the first line to:
cmds = "[ManualScale(0,-1.25,4,1.25)][NumTics(1,8,10)]", I'd think I would get the same plot. Instead I get an error message with the title "Error processing this command:" with the total command string in the message box.
What am I missing about the use of NumTics?
Thanks, Kenny