Dk Consulting

 
Dots Lines

wplot


  • wplot is a quick and easy to use Windows GUI software program for quickly creating and analyzing data plots.
  • Create plots with millions of data points in seconds. Crazy fast.
  • Once the data is plotted you can easily use the many tools to explore your plot in great detail by zooming in/out, scrolling your plot and much more.
  • Mutiple objects (data files/sets) can be plotted and overlaid.
  • Objects can be individually hidden/viewed as the plot is studied.
  • wplot does NOT generate data. wplot reads data points from file(s) and generates varied plots based on that data.
  • A single Windows executable. Simple installation. Just download executable file and run.
  • wplot is 100% FREE to use. No restrictions of any kind. Donations welcome.

This is an experiment for me. I have used free software for years and felt the need to give back. I wrote this plotting program years ago because all of the tools out there were too slow and could not handle a million or two data points quickly. Other tools would not let me change the scaling and other aspects of the plot on the fly. I used this program in my line of work mostly for analyzing milli-second and nano-second timing situations. I would plot the acquired data and then zoom in and use the tools to determine event timing to improve my processes. It eventually became my goto tool for plotting data in many different sorts of situations. My hope is that other people will find this tool useful as well.

If you find this program worthwhile and feel like donating, that would be a first :-)


 
 
 




 
Square
 
bars
 
Poly

Windows 2D ploting (wplot) Software ( below is the output of wplot -h ) :


Usage: wplot <cmdOpts> [-?] | <cmd file> | <data file>

<cmdOpts>
    -t <title>
    -x <xtype>     :: xtime xint xfloat ...
    -c <colspec>   :: x:y ex 2:4 use cols 2 and 4
    -h             :: help

Try: 'wplot -h > wplot.cmd' then 'wplot wplot.cmd'


wplot is 100% FREE to use. No restrictions of any kind. This Software is provided as is, without any express or implied warranties of any kind.
Feedback is welcome at: ibjoepat@yahoo.com
wplot reads a command file for information about how to format the plot and where to read the plot data from. All data files are text files. wplot does not read binary data files. If your data file has x data in col 1 and your y data in column 2 and you can use the default formatting, you can skip the cmd_file and have wplot read the data file directly. Typical lines in the data file would be similar to:

"934,345" or "12:04:20.234 97" or "89.34 4495.234"

Cmd file format/info:

  ';' , '#' and '.' start comment line ( ie. line is ignored )

Commands:

These should be set before any 'plot' cmds.

xtime        - x axis data type (expects HH:MM:SS.123 in data file)
xtimemilli   - x axis data type (expects HH:MM:SS.123 in data file)
xfloat       - x axis data type (expects 123[.xxxx] in data file )
xint         - x axis data type (expects 123 in data file )
xdate        - x axis data type (expects mm/dd/yyyy )
title <text> - text put in window title bar.
wxsize <val> - initial window x size.
wysize <val> - initial window y size.

These should be set after any x cmds ( above ).

xmax <val>    - set an x axis larger than found in data files.
ymax <val>    - set an y axis larger than found in data files.
xmin <val>    - set an x axis smaller than found in data files.
ymin <val>    - set an y axis smaller than found in data files.
ysig <val>    - set y significant digits for display.
xborder <val> - set x axis border to value.
yborder <val> - set y axis border to value.
bgcolor <val> - set background color( see Color Info ).

xgridlines <val> - set number of x axis grid lines.
ygridlines <val> - set number of y axis grid lines.

print     - print plot;should be after all 'plot' cmds.
              to default print device.
stop      - stop processing command file.
exit      - exit program; use for batch printing.
usage     - output usage text to stdout and exit.

plot <filename> <options> - can have one 'plot' command for each object.
 <options> in any order :

 line lines polygon    ( object type )
 dots                  ( object type; can have sizecol )
 hline vline bars      ( object type )
 hspike vspike         ( object type; need sizecol )
 fat thick thin square ( modify line )
 linedot               ( modify line;v|hspike)
 small medium large    ( apply to dots )
 solid dash dotdash    ( apply to line; only thin lines)
 1-32/xRRGGBB/_HHSSLL  ( for color )
 title or t <text>     ( title of this plot object.
 x<mod>:y<mod>         ( col nums for x,y data. 1 based;no spaces) def 1:2
                          <mod> can be *i, /i, +i or -i where i is a float.
                          allows each x or y item to modified by i.
                          If x is set to 0 then internal counter is used
                          for x. Allows only y data in file.
 sizecol <num>         ( col num in file for size info. )
 colorcol <num>        ( col num in file for color info. )
 hide off show         ( object visable/not visable. )


 Columns in <filename> must be separated by SPACEs commas and/or TABs. No ','s allowed in <filename> column data. (ie. 12,300 must be 12300). If <filename> = 'embeded' then data lines follow this line in this cmd file until EOF or a line with "end" is encountered. If <filename> starts with a ':<tag>' then data lines follow in this cmd file begining at label ':<tag>' until EOF or a line with "end" is encountered.

 Color Info:
     To view the actual 1-32 colors run program and select view->colors.
     xRRGGBB are any RGB color definition.

 Example cmd file:

 xtimemilli
 plot test2.dat line thin 7 t test2_line dash
 plot data1 1:4 dots large title 'bid dots'
 plot data1 1:5 dots medium x40A056 t ask_dots
 plot :limitdata 1:2 line dash 4 t limits

 ======================================================================

User interface:

 Buttons: Mouse over button and read status line for definition.

Mouse:
  left button      - show crossHair at cursor.
                       status line updated with X,Y Pos. information.
  left double click- make mouse loc center of window.
  Ctrl left button - zoom in with selection rectangle
  Alt left button  - pan screen


  right button     - hide show objects and show object titles dialog
                        select object to toggle show/hide.
  ctrl + select object- object properties change object properties dialog.
                       (Also good way for new user to see
                       examples of object types listed above).
                       shft right btn - object titles and # points in object.
  wheel           - zoom In/Out w/Ctrl key - x axis only.


   If there is an item under the mouse and 'toggle Size Circles' is
   on then the 'sizecol' info will show up on the status line.

Keys:

  Insert           - zoom in
  Delete           - zoom out
  Home             - full view
  Up/Down Arrow    - move up/down
  Left/Right Arrow - move left/right

  Ctrl + L/R Arrow - move left/right big
  Alt + L/R Arrow  - move left/right little

  Ctrl + Insert    - zoom in X axis only
  Ctrl + Delete    - zoom out X axis only
  Shft + Insert    - zoom in Y axis only
  Shft + Delete    - zoom out Y axis only

  Page Up/Down     - move up/down big

  Ctrl + C         - put x coord ( ie. time ) where cursor is onto
                      clipboard in '/HH:MM:SS' format.

 Vi type marks:
   save location ( view ) 'm' + letter ( '0' - 'Z' )
   restore location ( view ) ''' + letter ( '0' - 'Z' )

title example cmd file.
xint

#
# filename fields title object color
# type
#plot plot.data 1:2 t hour line 1
#Plot plot.data 1:3 t zone5 linedot 2
#plot plot.data 1:4 t zone3 line square 3

plot :diag 1:2 t diagonal line fat 4
# local start here

:diag
0 0
50 50
100 100
150 150
200 200
end

plot :trangle 1:2 title trangle line 8

:trangle
50 50
150 50
100 150
50 50
end

plot :bar 1:2 t barObj bars lineDot fat 10

:bar
20 130
170 120
end
plot :dots 1:2 t dots dots thin x006400 sizecol 3

:dots
40 110 10
50 90 45
150 80 60
end