> From: "Peter K. Stys" <[EMAIL PROTECTED]>
> Reply-To: REALbasic NUG <[email protected]>
> Date: Sun, 11 Feb 2007 15:15:12 -0500
> To: REALbasic NUG <[email protected]>
> Subject: Re: [ANN] DataPlot Classes (Open Source)
> 
> I too created a plotting class that draws vectors and caches as bitmap
> for speed (includes cursor readout of coord values, delta display ie.
> dx, dy between 2 points, lin/semilog, legends, etc...).

Logarithmic scaling is actually on my list of things to do next. Frequency
responses are much more meaningful that way...
You're listing some nice ideas here. I'd love to see how you implemented
them.

> 
> Speed was an issue with a dozen waveforms each having 1000 or more
> points.  Vectors were too slow for the standard window refreshes,
> etc...

That was one of my concerns too. Typically, the data that I need to display
can have several thousand points.

> 
> So I create the vector Group2D once from the raw data & render it into
> a bitmap; the latter is used in the paint event of the canvas for
> speed, unless the data change, then the vectors are rebuilt.

That is a neat idea. Does it also rebuild the vectors if the user resizes
the window?

> 
> I can send the opensource class to anyone who's interested.

Definitely, thanks.

> 
> P.
> 
> 
> 
> On 2/11/07, Norman Palardy <[EMAIL PROTECTED]> wrote:
>> 
>> On Feb 11, 2007, at 11:53 AM, Roger Meier wrote:
>>> The picture quality on screen would be the same, regardless of what
>>> method was used to draw the data. I can see the benefit of having
>>> vector graphics when
>>> exporting the graphics as the pictures would be scalable (not
>>> something I currently need (at least, not yet)).
>>> I'm inclined to give the vector graphics a shot if I can find some
>>> time to work on it, mainly to find out how it compares to the
>>> regular drawing methods in terms of speed.
>> 
>> Having already used vector graphics for high res output for printers
>> they are more than up to the task of drawing fast.
>> I open sourced my graphing classes <http://great-white-
>> software.com.hosting.domaindirect.com/GrafThingOpenSource.zip> and
>> used these classes in an application that draws in almost real time.
>> The upside to vector graphics is they do scale well when printed at
>> very high resolution where bitmap graphics do not. They look poor
>> when printed at anything other than the resolution they were created at.
>> 
>> However, using vector graphics can be more more work to get all the
>> scaling factors correct.
>> 
>> 
>> _______________________________________________
>> Unsubscribe or switch delivery mode:
>> <http://www.realsoftware.com/support/listmanager/>
>> 
>> Search the archives:
>> <http://support.realsoftware.com/listarchives/lists.html>
>> 
> 
> 
> -- 
> 
------------------------------------------------------------------------------>
-
> Peter K. Stys, MD
> Professor of Medicine(Neurology), Senior Scientist
> Ottawa Health Research Institute, Div. of Neuroscience
> Ottawa Hospital / University of Ottawa
> Ontario, CANADA
> tel:    (613)761-5444
> fax:    (613)761-5330
> http://www.ohri.ca/profiles/stys.asp
> 
------------------------------------------------------------------------------>
-
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
> 
> Search the archives:
> <http://support.realsoftware.com/listarchives/lists.html>


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to