Hybrid Car – More Fun with Less Gas

Apropos data logging...

register ::  Login Password  :: Lost Password?
Posted by Morris Dovey on January 24, 2011, 12:47 am
 
As I told Danny, I've been working on software this weekend to "plot"
data into a graphic file. My original thought was to use it in
conjunction with some least squares software to plot data points along
with the fitted curve or line, but I think it might work decently for
displaying sensor data.

There're are some sample plots at

   http://www.iedu.com/DeSoto/Misc/Plot-640x480.png  and
   http://www.iedu.com/DeSoto/Misc/Plot-480x640.png

When I got done, I decided to jazz it up a bit by adding the ability to
pull in a photo image and plot on top of that

   http://www.iedu.com/DeSoto/Misc/Plot2-640x480.png

Too much fun!

--
Morris Dovey
http://www.iedu.com/DeSoto/
PGP Key ID EBB1E70E


Posted by Neon John on January 24, 2011, 2:50 am
 
Hi Morris,

Meant to mention this awhile ago when your post about a plotting
program came up.  Looks like you've done a lot of work  so it might be
too late but I wanted to mention this one.

http://www.ulrich-bangert.de/Plotter.zip

Ulrich is a precision time nut so the program is kinda oriented toward
that (Allen deviation, etc) but it is also a very nice general purpose
plotting program.

John


wrote:



Posted by Morris Dovey on January 24, 2011, 8:42 am
 On 1/23/2011 8:50 PM, Neon John wrote:

Thanks. It looks like Ulrich has done interesting work - and put
together an attractive Windows application.

Most of my work had already been done by '83 when I wrote some CP/M
software to produce PC board plots with an Epson FX80 dot matrix
printer. In graphics mode the FX80 had a horizontal density of 240
dots/inch and a vertical density of 216 dots/inch, and since the dots
overlapped, 2X PC board plots with new ribbons were good enough to
photo-reduce for production. It was slow as molasses but it got the job
done. I still have the FX80 (in storage), but no clue as to where I'd
ever find a ribbon for it. :)

The new version adds 24-bit color, but is much simplified by "square"
pixels and by having a lot more than 64K (total) to work with - and
since I've written it in strictly-conforming ISO-Standard C, I can
compile and run the code without changes on just any general-purpose
computer and any O/S.

Since most of the plots I'm planning are for publication in either web
pages or PDFs, output directly to a graphics file (as opposed to a
screen window) lets me specify dimensions and have ready-to-use plots
without screwing around with screen capture, re-sizing, etc. It
satisfies my "lazy programmer" syndrome.

I probably should mention (for Josepi) that it runs in a DOS window. :-D

--
Morris Dovey
http://www.iedu.com/DeSoto/
PGP Key ID EBB1E70E


This Thread
Bookmark this thread:
 
 
 
 
 
 
  •  
  • Subject
  • Author
  • Date
please rate this thread