
[ ] number formating, unix time (sking@arbor.net)

I often need to make plots of time-series data, and Plot2 is a wonderful
tool in which to do it.  If you're taking feature requests I'd like to see
the following:

Additional Number Formats - I'd like to have options to display axis values
in the following ways, in addition to scientific notation.

Thousands separator - Add commas (or whatever symbol is appropriate to
the current locale) to group digits in large numbers.

Engineering notation - Like scientific notation, but only uses exponents
which are multiples of 3 (3, 6, 9, etc.)

SI notation -- Like engineering notation, but instead of suffixing the
number with "* 10^n", suffix it with the appropriate SI abbreviation (K,
M, G, etc.)

IEC binary notation - Like SI notation, but instead of powers of 1000
use powers of 1024 (Ki, Mi, Gi, etc.)

Examples:

plain           123456              4294967296
w/1000s sep.    123,456             4,294,967,296
scientific      1.23456 * 10^5      4.294967296 * 10^9
engineering     123.456 * 10^3      4.294967296 * 10^9
SI              123.456 K           4.294967296 G
IEC binary      120.5626 Ki         4.0 Gi

Unix Time - Addition to the Axis Format buttons. Treat times as offset from
1970-01-01 instead of 2001-01-01.

Thanks for making such a useful program!



[x] 1*10^3 -> 10^3
[x] 1.5 -> 1.500 fixe decimal
￼[x] Dec.Places in axes can't be set
[x] coda syntax new commands
[x] sandbox: macro, browse, access file
[x] first row titles trim
[x] doc: import, first row comments
[x] update prefSetDefaultStyle
[x] preferences screenshot
[x] reset button
[x] add changes for default import options
[x] import options commands
[x] doc: import options
[x] macro export (sandbox)
[x] command docs
[x] import csv comments
[x] CoreAnimation: warning, deleted thread with uncommitted CATransaction; ... on perl import
[x] screenshots
[x] print in sandbox
[x] function generator plot
[x] bar color ?
[x] screenshots for doc: changed inspectors
[x] insert style from subview
[x] fill color for symbol
[x] sort data buffer
[x] insert style for direction arrows
[x] default import ascii macro comand
[x] text wrap on macro text
[x] direction arrow for legend
[x] window reset
[x] dump special char
[x] clr+dump+exit
[x] ask won't work
[x] macro external file / syntax highlight?
[x] import option doku
[x] call home
￼[x] add file type p2m
[x] clickable header in data view!!!
[x] empty macro crash
[x] Forecast
[x] place rectangle on background via macro
￼[x] image export resoution
[x] small inspector ?
￼￼[x] Ingnore leading white spaces -> default
[x] icons in main inspector
[x] show document toolbar default
[x] crash on -> setcomment 1 'Frösche'
[x] new mysql library
[x] draw rect cache error
[x] image dpi
[x] 10.10. SDK nsview window warning / titlebarAccessoryViewControllers .. see below
    this won't work right now .. we stay at 10.9
[x] export ascii [should be fixed, test with next appstore release]
[x] check macro import command (timeformat)
[x] legendsize for macros
[x] import dowjones.dat
[x] import trim
[x] import ignore trailing whitespace
[x] doc: add <BUFFER> to bcolor, bfillcolor ...
[x] macro: timer crash if document disapear
[x] import UTC problem, summer time
[x] MySQL port bug (port)
[x] no MPD in Manager after window close
[x] copy from XY view
[x] crosshair vs mouse location
[x] crosshair meassure offset
[x] mouse scaling 2. axis


================================================================================================================ RELEASE TODO =====

Clean settings:
  defaults delete eu.micw.plot2
  defaults delete eu.micw.plot2pro

Download Documentation:
  download with: wget -r -k -nd -E -P doc -nv -F -U plot2export http://plot2doc.micw.org
  add to resources with 'Create folder references for any added folders'

For new release:
  run 'Analyze'
  download doc
  disable build.pl for uniq build number
  build all targets: Plot2, Plot2 Pro, Plot2x
  upload Plot2 and Plot2 Pro, export Plot2x
  check App with 'spctl --verbose=4 --assess --type execute Plot2x.app'
  rename export folder to Plot2.x.x , copy samples, find Plot2.x.x -name .DS_Store -type f -delete -print, zip
  scp -P 2234 Plot2.x.x.zip root@micw.eu:/var/www/apps/apps/plot2/downloads/

For AppStore:
  switch Sandbox on
  set SANDBOXED YES in plot.h

AppStore Link:
  https://itunes.apple.com/app/plot2/id846509360

Sample Files:
  http://plot.micw.org/downloads/Plot2samples.zip


==================================================================================================================== SIDEDEMO =====

  preset macro

  windowsize 800 500
  margins 80 80 80 10
  anumfont all Helvetica-Bold 18
  atextfont all Helvetica-Bold 24
  legendfont Helvetica-Bold 18
  legendspace 30

  resize to 360x225

================================================================================================================= DUMP COLORS =====

NSArray *all=[NSArray arrayWithObjects:p_col0,p_col1,p_col2,p_col3,p_col4,p_col5,p_col6,p_col7,
              p_col8,p_col9,p_col10,p_col11,p_col12,p_col13,p_col14,p_col15,nil];
int n=0;
for (NSColorWell *c in all) {
  double r,g,b,a;
  NSColor *cc = [[c color]  colorUsingColorSpace:[NSColorSpace genericRGBColorSpace]];
  [cc getRed:&r green:&g blue:&b alpha:&a];
  printf("[p_col%d setColor:[NSColor colorWithCalibratedRed:%g green:%g blue:%g alpha:%g]];\n",n,r,g,b,a);
  n++;
}

======================================================================================================================== INFO =====

VERNO change in Plot2 from 30 to 31

======================================================================================================================== MAIL =====

Aija.White@unbc.ca
jensstrabo@gmail.com,
Westmeie@students.uni-marburg.de,
james@nprl.ph.bham.ac.uk,
stefan.wallin@dataductus.se,
dburdige@cox.net,
gbstark@buildingsynergies.com,
selassid@carleton.edu,
J.Smerdon@liverpool.ac.uk,
luz@plan44.ch,
johannes.klos@gmx.de,
olaf.bininda@uni-oldenburg.de,
cmerlen@gmx.de,
tommaso.roversi@unimi.it,
vicente.pagliaro@gmail.com,
apirkle@gmail.com,
carpena@ufl.edu,
hanna.meyer@uni-greifswald.de,
alexander@presber.net,
baker@usgs.gov,
gljnm@bigsky.net,
hunyadi@ling.arts.unideb.hu,
Rene.Quiniou@irisa.fr,
alexander.kurek@fmf.uni-freiburg.de,
fago@caltech.edu,
tburgoyne@me.com,
tolkan@mac.com,
kmregan@cs.toronto.edu,
taheltemes@wisc.edu,
jacques.bloch@physik.uni-regensburg.de,
stanislaw.nowak@unifr.ch,
florian@nachon.net,
jmelis@ballastronic.com,
kum@physics.rutgers.edu,
Dave@Underseaimages.com,
cjn_met@comcast.net,
selenko@fmp-berlin.de,
philipp.gerhard@me.com,
computer@AdrianFronda.com,
zucco@dipteris.unige.it,
vascobmcastro@gmail.com,
mander13@uoregon.edu,
jwsuchow@brandeis.edu,
langrock@stanford.edu,
nat.wilson@yale.edu,
joseja@gmail.com,
dodegy@flying-stampe.de,
kwiley@cs.unm.edu,
thorsten.sy@googlemail.com,
harold.sneessens@gmail.com,
bzollars@nanohmics.com,
and.damore@gmail.com,
andreas.brand@gmail.com,
ciro@mondueri.com,
thomasp85@gmail.com,
FOULGER@clemson.edu,
am2679@columbia.edu,
mc823@cam.ac.uk,
z.najmudin@imperial.ac.uk,
le.filippini@gmail.com,
davidf@imm.cnm.csic.es,
gabriel.parent@gmail.com,
erik@phys.columbia.edu,
kaja.bilek@gmail.com,
gvido.bratina@p-ng.si,
rene.donner@mac.com,
a.baubin@googlemail.com,
aschellekens@me.com,
paulvanderheijden@gmail.com,
gunnartreff@web.de,
denali41@gmail.com,
m.horton11@imperial.ac.uk,
jsdraper@gmail.com,
ae.arcia@telecom-bretagne.eu,
A.J.L.Adam@tudelft.nl,
simurai@gmail.com,
marcel.gueltig@gmail.com,
drbob@dokterbob.net,
hegewald@irmb.tu-bs.de,
fabrizio.tappero@gmail.com,
janyves.ruzicka@pg.canterbury.ac.nz,
rudy@trubitt.com,
obryan@chemistry.ucsc.edu,
alexander.titz@uni-konstanz.de,
jan@geheimwerk.de,
jcblum@ucdavis.edu,
michael0@etu.unige.ch,
djpitch@virtual-reality-records.de,
paultirk@gmail.com,
Jean.Waucomont@ua.ac.be,
ap515@cam.ac.uk,
elie.raphael@espci.fr,
n.decorte@institut-myologie.org,
martin@ohlmeyer.org,
njlong@mac.com,
boolegue@gmail.com,
ravikiran.k.reddy@gmail.com,
peter-klaus.schilling@t-online.de,
jay.w.warrick@gmail.com,
ba208@exeter.ac.uk,
peter.nolan40@upcmail.ie,
michelle.lynn.gill@gmail.com,
pshafer@berkeley.edu,
stranak@ufal.mff.cuni.cz,
Peter.Kretschmar@esa.int,
st.hahne@gmx.net,
nick@kocharhook.com,
P.OBrien@murdoch.edu.au,
dhendrix@omicia.com,
thomas.kilian@onlinehome.de,
coulombe.jonathan@gmail.com,
phase.of.matter@gmail.com,
rroach@hypoxia.net,
Andreas.Brand@rwth-aachen.de,
avaughan@stanford.edu,
Oezguer.Birer@rub.de,
chris@hiddenMemory.co.uk,
stefan@e3.physik.uni-dortmund.de,
a.andreski@tnw.utwente.nl,
francesco.scarel@frias.uni-freiburg.de,
chrislee@gatech.edu,
marcel.schoch@slf.ch,
j.m.fedrow@gmail.com,
frederico.de.brito@gmail.com,
felix.kroener@me.com,
nuno.pires@epfl.ch,
kontakt@areusch.de,
abell@accesscable.net,
alvarez.luisjavier@gmail.com,
tconry@berkeley.edu,
remco@beryllium.net,
w-cui04@mails.thu.edu.cn,
rpoirier@champlaincollege.qc.ca,
kskinner@oddpost.com,
ashley.harvey@mat.ethz.ch,
svogel@th.physik.uni-frankfurt.de,
Y.M.Harshe@tudelft.nl,
jianhuah@Princeton.EDU,
Jutho.Haegeman@ugent.be,
hjjost@novawavetech.com,
bagapinan@apple.com,
hampus.sunner@chalmers.se,
H.Maxeiner@web.de,
matthias-foerster@web.de,
jar@ipac.caltech.edu,
jjl274@bham.ac.uk,
Fridtjof.Schiefenhoevel@medizin.uni-leipzig.de,
pbs25@cam.ac.uk,
lamb@geo.tamu.edu,
jxltogo@googlemail.com,
leigh@versiera.net,

========================================================================================================= INSPECTOR MIGRATION =====
  
- add group to 'Inspectors'
- add new subclass from InspectorManager (e.g. GeneralManager) and add basic source
- add new empty XIB file with the exact inspector shortname (e.g. 'general')
- switch off autolayout
- add a Manager Object to the XIB


- copy the inspector NSBox from Plot.nib
- connect the inspectorView
- copy outlets from Manager.h
- rename outlets if needed
- connect the outlets (.. puh)
- connect the didChange (.. puh)

- change inspector registration in Manager.m ( TV[@"general"] = emptyInspector; )
- change inspector update in Manager+Inspector.m ( if ([il isEqualToString:@"general"]) [IC[@"general"] update]; )
- copy update and didChange source from Manager+Inspector.m
- compile and fix issues

- remove update and didChange source from Manager+Inspector.m
- remove update and didChange source from Manager+Inspector.h
- remove inspector from Plot.xib
- remove inspector outlets from Manager.h
- remove inspectorView... from Manager.h
- compile and fix issues


#import "Manager.h"
#import "PlotDocument.h"
#import "PlotView.h"

- (IBAction)didChange:(id)sender { ////////////////////////////////////////////////////////////////////////////// inspector actions
	
  PD=M->PD;if (PD) PV=M->PD->PV;
  
}

- (void)update { //////////////////////////////////////////////////////////////////////////////////////////////// update  inspector
  
  PD=M->PD;if (PD) PV=M->PD->PV;
  
}

