Search found 10 matches

by xander_P
Fri May 25, 2007 10:28 am
Forum: Basic
Topic: DATA_3DR Not using entire picturebox
Replies: 2
Views: 19230

Thanks for looking into it. And thanks for the advice on centering the plot in the meantime. :D
by xander_P
Thu May 24, 2007 1:38 pm
Forum: Basic
Topic: DATA_3DR Not using entire picturebox
Replies: 2
Views: 19230

DATA_3DR Not using entire picturebox

I recently upgraded my copy of DPLOT from 2.1.0.5 to 2.1.1.8 and noticed an unfortunate side effect (for me at least) in doing so. It appears that when displaying a plot using the DATA_3DR data format the generated plot doesn't fill up the entire picturebox anymore. At least it appears that way on ...
by xander_P
Wed Nov 08, 2006 1:25 pm
Forum: Basic
Topic: Replacing the Y Axis
Replies: 2
Views: 18479

Thank you very much, "[ContourScales(1, -1, 1)]" does exactly what I need. And saved me a day of sending my data in upside down, and then painting axis labels myself. :D
by xander_P
Tue Nov 07, 2006 7:43 pm
Forum: Basic
Topic: Replacing the Y Axis
Replies: 2
Views: 18479

Replacing the Y Axis

I am displaying a contour plot and I need the lower left corner to be 8 and the upper left to be 1, but I don't believe there is a setting in DPLOTLIB to create this reverse order. At least I can't find any documentation on how I might do this.

Anyway as a result I am not displaying the Y axis ...
by xander_P
Wed Sep 20, 2006 2:12 pm
Forum: Basic
Topic: CreateCompatibleBitmap Failure
Replies: 2
Views: 20444

Ahh, thanks. I am using a timer to constantly display the bitmaps of a moving spectrum. I am using the DeleteObject before I draw the next one. But I am stopping my program at various breakpoints, so it may not get to delete the bitmap eveytime, thus by the end of the day I've used up too much ...
by xander_P
Wed Sep 20, 2006 1:17 pm
Forum: Basic
Topic: CreateCompatibleBitmap Failure
Replies: 2
Views: 20444

CreateCompatibleBitmap Failure

During the process of coding/debugging my program, I sometimes fubar up my code enough that I seem to cause problems for DPLOT. When this happens I get a messagebox from DPLOTJR saying "In CopyBitmap, CreateCompatibleBitmap failed with width=973, height=733".

Now I don't know exactly how I cause ...
by xander_P
Wed Sep 13, 2006 1:56 pm
Forum: Basic
Topic: Getting X Positions through the MouseMove Event
Replies: 7
Views: 34914

Well that was indirectly it. My code contains a mixture of BTEST2 and BTEST4. I was using the BTEST4 graph_paint routine to display the plot, when I should have been using the BTEST2 graph_paint routine. Its interesting that the 2 routines display the plot differently.

So I changed my paint routine ...
by xander_P
Wed Sep 13, 2006 11:34 am
Forum: Basic
Topic: Getting X Positions through the MouseMove Event
Replies: 7
Views: 34914

My scaleMode is "3 - Pixel", I messed around with some of the other options for scaleMode, and none of them changed anything for the better. Instead of sending the source code, which is rather large, I will just copy the section you would need to reproduce the plot.

And like I said, I've gotten it ...
by xander_P
Wed Sep 13, 2006 10:24 am
Forum: Basic
Topic: Getting X Positions through the MouseMove Event
Replies: 7
Views: 34914

I've added a picture to show a sample graph from my program. It appears that the DPM object wasn't returning the pixel locations I was expecting. I've tagged the picture below to further explain my problem.

I was expecting the (hll,vll) point to be the at the crosshairs of the xy axis, but it ...
by xander_P
Tue Sep 12, 2006 12:34 pm
Forum: Basic
Topic: Getting X Positions through the MouseMove Event
Replies: 7
Views: 34914

Getting X Positions through the MouseMove Event

I am currently using VB6 to create a program to plot data using the DPlotLib. I am attempting to "zoom in" on a graph when the user clicks on a certain section of the graph, and therefore need to know the X value clicked on. I copied the code used in the BTEST2.vbp project, and I am getting ...