Need help understanding NumTics

Q&A for Visual Basic, Visual Basic .NET, and PowerBasic developers using DPlot
Post Reply
kstultz
Posts: 4
Joined: Fri Oct 05, 2007 9:13 am

Need help understanding NumTics

Post 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
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

What am I missing about the use of NumTics?
Just the k :-)

It's NumTicks.
Visualize Your Data
support@dplot.com
kstultz
Posts: 4
Joined: Fri Oct 05, 2007 9:13 am

Post by kstultz »

LOL. I've only been trying to get it to work for two days.

Thanks very much, Kenny
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post 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 :-)
Visualize Your Data
support@dplot.com
Post Reply