Page 1 of 1

Need help understanding NumTics

Posted: Tue Oct 09, 2007 3:39 pm
by kstultz
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

Posted: Tue Oct 09, 2007 5:18 pm
by DPlotAdmin
What am I missing about the use of NumTics?
Just the k :-)

It's NumTicks.

Posted: Tue Oct 09, 2007 6:29 pm
by kstultz
LOL. I've only been trying to get it to work for two days.

Thanks very much, Kenny

Posted: Tue Oct 09, 2007 7:04 pm
by DPlotAdmin
You're of course welcome, and thanks for your post - it's good to know I'm not the only one that stares at my screen for hours on end trying to figure out why the darn computer/program won't do what I want :-)