DPlot Forum Index DPlot
http://www.dplot.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

V2.0.5.7 and DDE non-variant random 3D plots

 
Post new topic   Reply to topic    DPlot Forum Index -> Suggestions/Questions
View previous topic :: View next topic  
Author Message
meany



Joined: 21 Jul 2003
Posts: 16
Location: Missouri

PostPosted: Tue Jun 06, 2006 3:19 pm    Post subject: V2.0.5.7 and DDE non-variant random 3D plots Reply with quote

David,
I tried the new version release V2.0.5.7, passed over a non-variant random 3D dataset through DDE and I'm still having troubles. It pops a timeout error box quickly, maximizes the hidden DPlot, and returns a NULL HBITMAP on my DPlot_PlotBitmap call. I can see non-variant data if I go through DPlot directly now, but does it work through DDE? It might be some other combination of the commands I send for the ManualScale or something, but I don't know what else to try. (On the ManualScale, I tried Z hi and low extents equal to the single value, and I tried them expanded around the single value.) I can send you the command string and the data if you'd like. Sorry, my data is a pain![/img]
Back to top
View user's profile Send private message
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2310
Location: Vicksburg, Mississippi

PostPosted: Tue Jun 06, 2006 3:54 pm    Post subject: Reply with quote

Charlotte,
(After a momentary panic thinking I might have broken everything Smile), the demo programs work fine, at least here. I just tried the C example with 100,000 random points and producing those 100K points, sending them to DPlot and retrieving a bitmap took about 3 seconds. So I don't know what might be going wrong in your case. You're of course welcome to send me whatever you have and I'll take a look as soon as possible.
_________________
Visualize Your Data
support@dplot.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
meany



Joined: 21 Jul 2003
Posts: 16
Location: Missouri

PostPosted: Tue Jun 06, 2006 4:08 pm    Post subject: Reply with quote

Glad yours works! Wish mine did! Maybe I broke everything! Were all your Z-values non-variant? This example has them all zero.

Here's my commands:
[ContourLegend(1)][Contour3D(0)][ContourMethod(0)][ContourLevels(32,0,0)][ContourColorScheme(2)][ContourCustomColors(16711680,16776960,65280,65535,255,16711935)][ContourLegendFrequency(4)][ManualScale(10.16,-40.64,154.94,40.64,0,0)][ContourGrid(0)][ContourScales(0.561403,1,1)][LineType(-1,1)][LineWidth(1,1)][CopyPicture()][TextFont(1,8,0,0,0,0,0,"Arial")][TextFont(3,8,0,0,0,0,0,"Arial")][TextFont(2,12,700,0,0,0,0,"Arial")][TextFont(4,12,0,0,0,0,0,"Arial")][TextFont(5,12,0,0,0,0,0,"Arial")][TextFont(6,8,0,0,0,0,0,"Arial")]

Here's my data:
10.16 -40.64 0
20.5014 -40.64 0
30.8429 -40.64 0
41.1843 -40.64 0
51.5257 -40.64 0
61.8671 -40.64 0
72.2086 -40.64 0
82.55 -40.64 0
92.8914 -40.64 0
103.233 -40.64 0
113.574 -40.64 0
123.916 -40.64 0
134.257 -40.64 0
144.599 -40.64 0
154.94 -40.64 0
10.16 -30.48 0
20.5014 -30.48 0
30.8429 -30.48 0
41.1843 -30.48 0
51.5257 -30.48 0
61.8671 -30.48 0
72.2086 -30.48 0
82.55 -30.48 0
92.8914 -30.48 0
103.233 -30.48 0
113.574 -30.48 0
123.916 -30.48 0
134.257 -30.48 0
144.599 -30.48 0
154.94 -30.48 0
10.16 -20.32 0
20.5014 -20.32 0
30.8429 -20.32 0
41.1843 -20.32 0
51.5257 -20.32 0
61.8671 -20.32 0
72.2086 -20.32 0
82.55 -20.32 0
92.8914 -20.32 0
103.233 -20.32 0
113.574 -20.32 0
123.916 -20.32 0
134.257 -20.32 0
144.599 -20.32 0
154.94 -20.32 0
10.16 -10.16 0
20.5014 -10.16 0
30.8429 -10.16 0
41.1843 -10.16 0
51.5257 -10.16 0
61.8671 -10.16 0
72.2086 -10.16 0
82.55 -10.16 0
92.8914 -10.16 0
103.233 -10.16 0
113.574 -10.16 0
123.916 -10.16 0
134.257 -10.16 0
144.599 -10.16 0
154.94 -10.16 0
10.16 0 0
20.5014 0 0
30.8429 0 0
41.1843 0 0
51.5257 0 0
61.8671 0 0
72.2086 0 0
82.55 0 0
92.8914 0 0
103.233 0 0
113.574 0 0
123.916 0 0
134.257 0 0
144.599 0 0
154.94 0 0
10.16 10.16 0
20.5014 10.16 0
30.8429 10.16 0
41.1843 10.16 0
51.5257 10.16 0
61.8671 10.16 0
72.2086 10.16 0
82.55 10.16 0
92.8914 10.16 0
103.233 10.16 0
113.574 10.16 0
123.916 10.16 0
134.257 10.16 0
144.599 10.16 0
154.94 10.16 0
10.16 20.32 0
20.5014 20.32 0
30.8429 20.32 0
41.1843 20.32 0
51.5257 20.32 0
61.8671 20.32 0
72.2086 20.32 0
82.55 20.32 0
92.8914 20.32 0
103.233 20.32 0
113.574 20.32 0
123.916 20.32 0
134.257 20.32 0
144.599 20.32 0
154.94 20.32 0
10.16 30.48 0
20.5014 30.48 0
30.8429 30.48 0
41.1843 30.48 0
51.5257 30.48 0
61.8671 30.48 0
72.2086 30.48 0
82.55 30.48 0
92.8914 30.48 0
103.233 30.48 0
113.574 30.48 0
123.916 30.48 0
134.257 30.48 0
144.599 30.48 0
154.94 30.48 0
10.16 40.64 0
20.5014 40.64 0
30.8429 40.64 0
41.1843 40.64 0
51.5257 40.64 0
61.8671 40.64 0
72.2086 40.64 0
82.55 40.64 0
92.8914 40.64 0
103.233 40.64 0
113.574 40.64 0
123.916 40.64 0
134.257 40.64 0
144.599 40.64 0
154.94 40.64 0
Back to top
View user's profile Send private message
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2310
Location: Vicksburg, Mississippi

PostPosted: Tue Jun 06, 2006 9:35 pm    Post subject: Reply with quote

It will be late tonight before I have a chance to dive into this, but I'm curious about what you're up to? Since you can't programmatically edit the Z values of a data point, what's the point of all those 0's?
_________________
Visualize Your Data
support@dplot.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
meany



Joined: 21 Jul 2003
Posts: 16
Location: Missouri

PostPosted: Tue Jun 06, 2006 10:07 pm    Post subject: Reply with quote

I have a 3D space that I slice and dice into X, Y, or Z planes and let my user see your shaded band contour plots for individual planes in that space. It happens that some planes have non-variant data. My application allows different views into that data. They can also opt for line plots where two planes intersect and I send DPlot the points for those lines. My C++ application has OpenGL 3D views that animate through the space in addition to the DPlot plots.

I tried sending the Z extent hi and low for the entire space, not just the plane, but still had the same error (ie, I sent [ManualScale(10.16,-40.64,154.94,40.64,-3.75573,15.0682)]).
Back to top
View user's profile Send private message
meany



Joined: 21 Jul 2003
Posts: 16
Location: Missouri

PostPosted: Tue Jun 06, 2006 10:37 pm    Post subject: Reply with quote

I didn't say this in my previous post, but my 3D space (cartesian coord. system) is filled with a parameter of interest--a fourth dimension, per se. By the time I send data to DPlot, the "X" and "Y" values are two of the cartesian values (reducing the data to a single plane), and the "Z" value of the contour plot is the fourth dimension. Does that make sense now?
Back to top
View user's profile Send private message
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2310
Location: Vicksburg, Mississippi

PostPosted: Tue Jun 06, 2006 10:41 pm    Post subject: Reply with quote

Yes, thanks.
_________________
Visualize Your Data
support@dplot.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2310
Location: Vicksburg, Mississippi

PostPosted: Wed Jun 07, 2006 10:13 am    Post subject: Reply with quote

I'm not sure what's going on yet, but your example will work fine with [ContourMethod(1)] (contour lines). I'll fix this as soon as possible.
_________________
Visualize Your Data
support@dplot.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    DPlot Forum Index -> Suggestions/Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group