Search found 12 matches

by Mao
Thu Jul 08, 2010 5:30 pm
Forum: Basic
Topic: DPLOTLIB.DLL with VB 2008
Replies: 5
Views: 79786

DPLOTLIB.DLL with VB 2008

David:

I successfully developed an application with VB 2005 that called DPLOTLIB.DLL using the example included with the software:

Public Sub DPlot_FindDPLOTLIB()
' Find DPLOTLIB.DLL.
Dim key As Microsoft.Win32.RegistryKey
Dim path As String
Dim hLib As IntPtr

hLib = LoadLibrary ...
by Mao
Mon May 07, 2007 11:01 am
Forum: Suggestions/Questions
Topic: Autoscale in one axis with VB.NET
Replies: 2
Views: 13024

That is what is happening to me. I wrongly assumed that if I did not declare y_lo and y_hi the Y axis would autoscale, but it is not. I guess I need to calculate manually my max and min and then to define tha scale based on the difference.

Thanks.

Mao
by Mao
Mon May 07, 2007 10:40 am
Forum: Suggestions/Questions
Topic: Autoscale in one axis with VB.NET
Replies: 2
Views: 13024

Autoscale in one axis with VB.NET

Good morning:

I am plotting curves with VB.NET and I am scaling the coordinates using the command ManualScale. Is there any way to autoscale the data in Y and set the limits in X ? Example: I want my X data to be displayed from 0 to 175, but the data in Y to be autoscaled.

Thanks.

Mao
by Mao
Mon Apr 30, 2007 4:15 pm
Forum: Suggestions/Questions
Topic: Multiple plots in the same page with VB.NET
Replies: 13
Views: 36253

David:

It may have been but I am not sure. As per your suggestion I cleaned my code, removed spaces and used the latest DPLOTLIB.DLL and found a couple of errors (I do not remember if the one you mention was one of them) ; now the program is displaying the 9 plots in the same page.

I have a ...
by Mao
Fri Apr 27, 2007 9:01 am
Forum: Suggestions/Questions
Topic: Multiple plots in the same page with VB.NET
Replies: 13
Views: 36253

David:

I have noticed that there is an inconsistency in the document "Executing DPLOT commands from another application" when decribing the command FilePrintMultiple; in the declaration of the command it says it should be declared as:

[FilePrintMultiple("printer",numdocs,doc1,doc2,...docn,layout ...
by Mao
Thu Apr 26, 2007 5:08 pm
Forum: Suggestions/Questions
Topic: Multiple plots in the same page with VB.NET
Replies: 13
Views: 36253

David:

I added Activate to my code and it did not work. It prevents the program from printing any plot; if I remove it, I still can print the last created plot.

I think I have a mismatch of commands and functions (please correct me if I am wrong):

cmd = "[FilePrintMultiple("" ,9,1,2,3,4,5,6,7,8 ...
by Mao
Thu Apr 26, 2007 3:14 pm
Forum: Suggestions/Questions
Topic: Multiple plots in the same page with VB.NET
Replies: 13
Views: 36253

David:

Following your advice this is what I did:

Dim DocNum( 8 ) As Integer

For k = 0 To 8
...
...
...
DocNum(k) = DPlot_Plot8(d, vector_x(0), vector_y(0), cmds)
Next k

print_cmd = "[FilePrintMultiple(" & Chr(34) & "Adobe PDF" & Chr(34) & ",9," & DocNum(0) & "," & DocNum(1) & "," & DocNum ...
by Mao
Wed Apr 25, 2007 8:16 pm
Forum: Suggestions/Questions
Topic: Multiple plots in the same page with VB.NET
Replies: 13
Views: 36253

David:

I do not have the error message right now (I will send it to you tomorrow from my office). What I am trying to do is to use the following DPLOT command for printing:

cmds = cmds & "[FilePrintMultiple("",9,1,2,3,4,5,6,7,8,9,3,0.25,0.25)]"

then

DPlot_Command(XXX, cmds) (what document number ...
by Mao
Wed Apr 25, 2007 8:15 pm
Forum: Suggestions/Questions
Topic: Multiple plots in the same page with VB.NET
Replies: 13
Views: 36253

David:

I do not have the error message right now (I will send it to you tomorrow from my office). What I am trying to do is to use the following DPLOT command for printing:

cmds = cmds & "[FilePrintMultiple("",9,1,2,3,4,5,6,7,8,9,3,0.25,0.25)]"

then

DPlot_Command(XXX, cmds) (what document number ...
by Mao
Wed Apr 25, 2007 3:59 pm
Forum: Suggestions/Questions
Topic: Multiple plots in the same page with VB.NET
Replies: 13
Views: 36253

Multiple plots in the same page with VB.NET

Good afternoon:

Can I define an array of DPLOT entities ? I am trying to plot several plots in the same page with VB.NET using the structure of the example btest4.vb. As the settings of the plots are very similar, I would like to have something like this (assuming I will plot 9 plots in one page ...
by Mao
Tue Apr 24, 2007 9:46 am
Forum: Suggestions/Questions
Topic: DPlot_Plot8 for XYXY graphs
Replies: 3
Views: 14695

Just to clarify, usig your example, if I have two curves the first curve is in X(0) to X(N1-1) and the second from X(N1) to X(N1+N2-1). Is this right ?

Please correct me if I am wrong (following with your example): if I declare d = New DPLOT, my declarations should be:

d.DataFormat = XYXY
d ...
by Mao
Thu Mar 29, 2007 4:24 pm
Forum: Suggestions/Questions
Topic: DPlot_Plot8 for XYXY graphs
Replies: 3
Views: 14695

DPlot_Plot8 for XYXY graphs

Good afternoon:

Could you please tell me how is the way to use the parameters of DPlot_Plot8 when you have several curves with different Xs (XYXY) ?


Thanks.

Mao