Building Cocoa Applications: A Step-by-Step. Four-function calculation application that's similar to the calculator that comes with Mac OS X MathPaper (Part III) An application that is similar to a word processor but that. People who lack the dexterity or the vision required to accurately use a mouse can still benefit from the Mac OS.

Stereonet 11 is a huge release with a completely new and robust internal data structure and an openGL 3D view of the lower hemisphere for teaching purposes. It includes almost all of the goodness of Stereonet 10 and lots of subtle new tweaks as well (check out the detialed version history, below). This version of Stereonet is compatible with all modern operating systems and has a modern user interface which has been modeled after OSXStereonet for Mac by Nestor Cardozo and me. It can read and write older Stereonet text files, can read the Stereonet 11 binary files, but saves its data in a new binary format.

For those hardy souls using Linux, you too can download a copy of Stereonet 11, though I have never seen it run on a Linux box and don't know if there are any compatibility issues!

For long term viability of your data, however, you should still export any work as text files which will always be readable by a large number of programs.

A comprehensive manual is included with the zip archive. For Mac Users still on Mac OS X 10.5 and lower (Leopard, Tiger, etc.), you can download a Carbon version of Stereonet. Note that this version will not be kept up to date with the above Cocoa version.

Version History

Versions 11.0.2, 11.0.3 — 2020.05.14

  • New, modern, internal data structure
  • 3D view can be grabbed and rotated with the mouse to help students visualize the lower hemisphere. With the mouse scroll wheel, you can even fly through the model! 3D view colors and plot elements are user configurable
  • Drag data sets to change the order of plotting of individual data sets.
  • New menu commands: Data➤Merge With and Data➤New Dataset from Selection
  • Label individual observations (in addition to text annotations)
  • Revamped axial plane finder (no more acute and obtuse angle confusion!)
  • Change data formats with new dropdown menu in the Datasets Listbox
  • Open Recent submenu in the File Menu gives you rapid access to the last ten files you have opened.
  • UNDO (finally!)!! You can now use Edit➤Undo Delete if you change your mind about having deleted a dataset or a group of individual data points. You can only undo the most recent deletion and Undo does not work on plot changes (because you can already undo those by changing your Plot Menu selections) or operations (because Operations now always create new datasets rather than replacing existing data sets).
  • Inspector Palette now opens automatically to the Datasets Tab and selected dataset if there is a selected dataset. Otherwise it opens to the Stereonet Tab.
  • Option to dynamically change point size with changes in window size.
  • Option to use Aki-Richards format for lines on planes (i.e., rake)
  • Completely rewritten users manual (which I’m sure you’ll want to read carefully ;-)
  • Things that are different/missing with respect to Stereonet 10:
    • .SVG output is not currently available in v. 11. The PDF output is now very robust and can be used in all cases where you would have used SVG. If you want SVG let me know so I can gauge the interest in its return to v. 11.
    • Lines in Latitude-longitude format for plotting continent outlines on the upper hemisphere. My impression is that this feature was almost never used. If you would like to see it return, let me know
    • Printing. Due to a bug in the compiler that I use, printing is currently disabled. As soon as the compiler is fixed, printing will be enabled.

Versions 10.4.6 — 2020.03.19

  • Fixes an issue where text annotations would lose their place and be misplotted after saving and reopening a file.
  • Some file icon issues fixed.
  • Crashes should be somewhat more graceful though no promises!

Versions 10.4.5 — 2020.02.25

  • Fixes a recently introduced bug where the Details Tab was blank when the user imported a text file from Stereonet Mobile.

Versions 10.4.4 — 2020.01.31

  • You can now plot small circles in the upper (or lower hemisphere)
  • Updated about box to a 2020 date!

Versions 10.4.2 — 2019.10.08 (PDFs & the clipboard finally work right release ;-)

  • The mac version now comes as an installer package that is notarized by Apple for all of you Catalina early adopters!
  • The help file PDF is now incorporated into the application package. No more separate PDF files. Unless you remove the help pdf from the resources folder, it should always be available.
  • Fixed a bug where the Parse Text File dialog displayed white text on a white background when in dark mode
  • Fixed a bug with autonumbering batch annotations
  • When importing a text file in the older stereonet format (a one line header with a two character code), any lines after the one line header that start with “#” will be ignored.

Versions 10.4.0, 10.4.1 — 2019.10.01 (PDFs & the clipboard finally work right release ;-)

  • New robust PDF engine. Saved PDF files are vastly improved. Great and small circles are now polygons rather than unconnected line segments.
  • When the stereonet pane has the focus (blue focus ring), you can copy the graphic as a PDF in memory. Most Mac and many Windows graphics and word processing apps will recognize and paste the PDF at its original vector resolution. When saved to the clipboard the PDF is cropped to the size of the graphic on the screen
  • Fixed incorrect plotting of small circles when the view direction is not the default.
  • Other bug fixes. (v. 10.4.1 fixes a problem with pdf colorspaces)

Versions 10.2.9 — 2019.04.03Wd my passport for mac not showing up.

  • Fixed a crashing bug which occurred when calling planes from poles under certain conditions (Thanks, Will)

Versions 10.2.8 — 2019.01.28

Accurately calculating text height in cocoa for machine
  • Fixed a crashing bug which occurred when you opened a blank window and then tried to open a saved binary file, either by double clicking on the desktop or using File>Open.

Versions 10.2.7 — 2019.01.21

  • Parse text file and Parse clipboard can now recognize and will try to parse latitude and longitude in degrees, minutes, seconds, hemisphere format. You can have a mixture of formats in a single column and all will be parsed in one pass.
  • Parse text file and Parse clipboard can now recognize and will try to parse dates in a single column such as '5/22/18'. Assign the year column to the column that has the date. Years can be either two or four digit. The parsing follows the format specified for dates in your computer’s system so that, if you are in South America and write the day first that should be recognized correctly.
  • Map Window on the Mac now displays the Longitude and latitude at the mouse location as you move the mouse over the map/satellite image.

Versions 10.2.5 (Mac only)— 2018.11.01

  • The map window can now show all of the selected observations on a satellite image. Simply select the observations that you want to see and click on the map tab and your map will appear automatically. [This is a Mac-only upgrade because the web browser in the Windows version does not permit graphic overlays. I don’t know of any fix for this issue, unfortunately…]

Versions 10.2.0 — 2018.10.30

  • Fixed and improved Google Satellite imagery viewing. Now view satellite images at any size/scale. Use built in “+” and “-“ buttons to zoom. IMPORTANT NOTE: You can now drag the satellite image to view different parts of the area, however doing so will cause the displayed strike and dip symbol to become mislocated. To correct this, just press the “Re-center” button. Explanation: Google changed it’s 3rd party image use policy in summer 2018. Older versions of Stereonet used Google Map Static images which are now billed to the programmer at $0.002 per hit! This version of Stereonet now uses embedded map images which, for the time being, remain free but have less flexibility than the static images.
  • Improved (i.e., less confusing) interface for uploading data to StraboSpot
  • Updated developer credential on the Mac.
  • Implemented the Mac OS X Mojave “Dark theme”. If you select dark theme in system Preferences, then Stereonet will be fully dark theme compliant.
  • A real, honest to goodness installer for Windows versions!!! No more sloppy .dll’s hanging out all over the place :-)

Versions 10.1.6 — 2018.08.09

  • Fixed a bug in the rose diagram plotting routine where, under certain conditions, not all of the azimuths in the first or last bin would be counted (thanks, Tobias!).

Versions 10.1.5 — 2018.08.03

  • Batch changing/assignment of StraboSpot attributes and location/time/data metadata. With the details tab open select all of the individual measurements you want in the data listbox on the right. Any value typed into any text field (or any selection from a popup menu) will instantly be applied to all selected observations. This is a great way to apply basic StraboSpot attributes to old data sets that you might have. Be careful, though as the change is instantaneous and there is no undo! [The Notes field is still changed only using Data>Batch Annotate command]
  • With StraboSpot uploads, you can now choose to upload just the selected data set or all data sets. Use the radio buttons in the Strabo upload dialog box
  • Corrected a bug where non-unique id numbers were very occassionally used in StraboSpot uploads.
  • Additional bug fixes.

Versions 10.1.1 — 2018.02.19

  • A recent build inadvertently turned off the high DPI awareness. That has been fixed in this version so the program should once again look nice and crisp on your retina display (thanks, Nestor!).

Versions 10.1.0 — 2018.02.19

  • Refactored the contouring code to make contouring much faster and more efficient. There is no new functionality, but contouring will be much nicer to use because it is about 2-3x faster.
  • Search dialog box now allows you to use the StraboSpot terminology for lines and planes to help define your search.

Versions 10.0.4, 10.0.5, 10.0.6 — 2018.01.30

  • This version corrects a non-crashing bug that occurred when you chose to smooth 1% area contours.
  • Saving binary files in older Stereonet formats (e.g., v. 9.5, v. 8.8) produced corrupted files that would cause the program to crash when trying to read those files back in. This has been fixed (thanks, Mauricio).
  • Stupid rotation bug introduced in 10.0.2 has been fixed (thanks, Matt).

Version 10.0.3 — 2018.01.21

  • This version corrects an issue where Stereonet would crash on systems that did not previously have Stereonet on them. The program was looking for a prefs file that didn't exist (thanks, Emile)

Version 10.0.2 — 2018.01.18

  • New prefs choices lets you set a default geologist's name and whether or not to time and date stamp data newly entered into the program via the keyboard (but not reading a text file or pasting from the clipboard.
  • Partially fixed bugs associated with entering lines as latitude and longitude. This should now work for the western hemisphere, but setting the view direction for the eastern hemisphere still does not work correctly (thanks, Nathan).
  • Calculating poles from planes would cause the program to crash if the data had been entered via the keyboard in earlier versions of v. 10. This has now been fixed (thanks, Andrew).

Version 10.0.1 — 2018.01.14

  • Corrects a bug that would cause a crash when a text file was imported and then saved as a .stnt format binary file. This bug only affected v. 10, not previous versions. (Thanks, Dan!)

Version 10.0.0 — 2017.12.21 (Happy Holidays!)

  • Assign StraboSpot data types: You can now assign StraboSpot terminology to your lines and planes observations. Select an individual line or plane, click on the new Details Tab, and choose the terminology from the popup menus at the bottom of the box.
  • Upload your data to your account at StraboSpot from within Stereonet: Simply choose File>Upload to StraboSpot, enter your credentials, and select the project to which you wish to save your data. You can also create a new project from within Stereonet before uploading to StraboSpot.
  • New tabbed interface. The data details window has been eliminated and it's functionality moved to the Details and Map tabs in the main Stereonet Window.
  • Compatability with the new Stereonet Mobile file format so you can read and write your data in that format for moving data between iPhone and desktop apps.
  • bug fixes.

Version 9.9.6 — 2017.08.11

  • The desktop version of Stereonet (all versions) has been updated to read the latest version of Stereonet Mobile data file.

Version 9.9.5 — 2017.03.28

  • A windows only fix to restore the text and clipboard parsing of ASCII text data.

Version 9.9.4 — 2017.03.14

  • A new interface behavior borrowed from Stereonet Mobile: when you select Data>Enter with Mouse, the grid will rotate as you move the mouse around. For lines (hold down the Shift Key), you will see a polar grid with lines radiating outward from the center and small circles centered on the middle of the plot. This grid makes it particularly easy to visualize trend and plunge. For planes (hold down the Option/Alt Key) the entire grid rotates so that, while you are dragging the pole to the plane around the net, the great circle is always parallel to great circles on the underlying grid. This may make it easier for students to visualize how the stereonet works
  • Minor bug fixes

Version 9.9.3 — 2017.01.24

  • Change to accommodate Stereonet Mobile file format change for notes.
  • Change copyright date
  • Bug fixes

Version 9.9.2 — 2017.01.24

  • Support for Stereonet Mobile input and output.
  • Removed support of Windows HiDPI resolution as that may have been causing some problems for some users..
Text

Version 9.9.1 — 2016.12.09

  • Text glitches on the Windows platform, including dislocation of text annotations and the position of the color legend for contours, fixed.

Version 9.9.0 — 2016.12.05

  • Now available in 64-bit versions as well as 32-bit. Because all recent Mac operating systems are 64-bit compatible, Stereonet for Mac is now only available as a 64-bit app. For the time being, Windows and Linux versions are available in both flavors but that could change relatively soon. Note that I do not have 64-bit versions of either Windows or Linux to test these on! The 64-bit versions are considerably faster than the 32-bit versions, especially where a large number of calculations are involved (e.g., contouring).

Version 9.8.6 — 2016.11.21

  • Fixed a bug in rotating all checked data sets that occurred when the first few data sets were not checked (thanks, Andrew)
  • You can now rotate small circles and arcs data sets

Version 9.8.5 — 2016.11.08

  • Fixed a bug when entering Lines on Planes (i.e., planes and rakes of lines) using the new data set pop down menu (thanks, Jakob)

Version 9.8.4 — 2016.11.08

  • Fixed a bug when calculating poles from a PT-formatted lines file
  • Overturned beds can now be entered with a dip > 90 or with a dip < 0. For instance, here are two ways of specifying the same overturned bed using right hand rule: 010, -35 or 190, 145. In dip direction and dip format (DR), this same overturned bed could be entered either as 100, -35 or as 280, 145.

Version 9.8.3 — 2016.07.28

  • The new prefs file format was causing unexpected behaviors under certain conditions. This version completely rewrites older prefs files. You will lose whatever settings you had previously made so you will have to set them again in the Inspector and the Preferences dialog. Sorry..

Version 9.8.2 — 2016.07.24

  • Exponential contour smoothing based on Robin and Jowett (1986), only 30 years after the fact! Smoothing is optional and can be turned on or off in the contours tab of the Inspector.
  • Contour grids as dense as 80 x 80 can now be set (although 40 x 40 is fine for almost all applications, and is considerably quicker). If you want a dense contour grid, I recommend that you turn on show legend (if you want one) before specifying the dense grid to avoid some temporary graphical artifacts. In combination with the above exponential smoothing, this can result in very nice smooth contours.
  • Optimizations to speed up contouring a bit.
  • Fixed a bug in dragging a scan. Scans now stay put where you dragged them.

Version 9.8.0 — 2016.07.15

  • A color bar legend for contour plots in Stereonet can now be drawn by selection the 'Show Legend' checkbox in the Contours tab of the Inspector palette. This legend is saved with the plot or when printing
  • Rose diagrams now have the option to center the first bin on zero. Let' say you have a 10° bin size; normally the first petal would be between 0 and 10°. If the 'Center bin on zero' is checked in the rose diagram section of the Inspector the first bin would be between 355° and 5°. Especially for sparse data sets, this can produce significant changes in appearance of your rose diagram, suggesting that aggressive interpretations are unwarranted!
  • Several behind the scenes changes to the slope stability section to improve robustness of operation, especially when saving data for reanalysis at a later time
  • New binary file format is necessary to enable all of the new functionality of the last few versions to be saved in the binary file.
  • From the file menu, you can now save a binary file in the current format (v.9.8) or either of the two previous binary formats (v. 9.5, v. 8.8). This gives you backwards file format compatibility to the version of the program released more than three years ago. The keyboard shortcut (⌘S or Ctrl-S) for saving a file will automatically save the most recent binary file format.
  • When you calculate poles from planes (or vice versa), the newly created data set will be assigned the same color as the original data set
  • Prefs file updated with new functionality
  • Corrected a bug in the rose diagram routine where azimuths of exactly 360 were not being counted properly.
  • minor fixes and tweaks.

Version 9.7.0 — 2016.07.11

  • Lines data sets can now also be plotted on a data set by data set basis using submenus in the plot menu. Likewise, the data sets submenu for rose diagrams allows you to select individual lines or planes data sets for plotting and analysis.
  • Bug fix in the search algorithm (Data>Search..) that cause a crash under certain conditions when Select opposite was selected.

Version 9.6.2 — 2016.06.11

  • Added the option to measure slope angle limits in the plane (rather than horizontal)
  • Fixed a bug that prevented saving small circles as PDF or SVG with negative plunges (thanks, Sarah!)
  • Small tweaks in the Inspector

Version 9.6.1 — 2016.05.26

  • Fixed an error where the uncertainty cones were not showing up when mean vector plots were saved as PDF or SVG (thanks, Luke!).

Version 9.6.0 — 2016.05.15

  • New feature — Slope stability analysis. A stereonet plot for planar or wedge failure on rock slopes can now be accomplished by selecting Calculations>Slope Stability… This feature is explained in more detail here. Note that Stereonet is NOT a professional geotechnical engineering program and the user assumes all risk associated with the implementation of this feature!
  • New Feature — Calculate the lines of intersection for all of the checked planes in a data set (useful for wedge slope failure) by selecting Calculations>All Planes Intersections. The resulting intersection lines are placed in a new lines data set. The notes field for the lines datum will tell you which two planes produced that intersection line. Note that the number of intersection lines is N*(N-1) where N is the number of planes. If the number of checked planes is >50, Stereonet will warn you in a dialog box that the number of lines will be large and allow you to cancel the operation. If you proceed with calculating a large number of intersection lines, be prepared to wait several seconds!
  • Some crashing bugs related to contouring fixed

Version 9.5.4 — 2016.04.26

  • Fixed yet another crashing bug that occurred when the user had the Inspector Window open and a plane selected in the Data Sets tab, created a new planes data set then clicked on the newly created data set in the Data Set Listbox (thanks, Josh)

Version 9.5.3 — 2016.03.03

  • Fixed a crashing bug that could occur with a large number of data sets.
  • Fixed several cosmetic issues related to the appearance of mean vectors in PDF and
    SVG plots

Version 9.5.2 — 2016.01.19

  • Fixed several crashing bugs that would occur when you opened the Inspector and clicked on the Contours tab when no data sets were entered
  • The mean vector for rose diagrams is now always drawn on top of the petals and always in black.
  • The new default for rose diagrams is 'treat data as axes' (unless you have previously saved Preferences with that option turned off in the Inspector). [If you plot the mean vector and it doesn't appear to make sense, open the Analyses tab of the Inspector and make sure that 'treat data as axes' is checked in the Rose diagram section. See Chapter 2 of my structure lab manual to understand why this happens.] With treat data as axes checked, the mean vector is calculated using Krumbein's mean and the von Mises Circular (azimuthal) distribution also reports Krumbein's mean.
  • Mean vector in half circle roses now plots correctly.

Version 9.5.1 — 2016.01.07

  • The inevitable bug fixes after a major change: this time correcting some rogue menu checking behavior under certain conditions. Also, Plot Menu was not updating correctly after importing Stereonet v. 6 format files.
  • Mean vector calculation concentration factor (kappa) calculation has raised some concerns because Stereonet used/uses the Fisher et al. (1987, eqn. 5.26) estimation for N<16. The program now reports both the standard Fisher (1953) estimation and Fisher et al. (1987) estimations where you have fewer than 16 vectors. This should result in greater compatibility with some paleomag programs that only use the 1953 formulation, but bear in mind that some people think k = (N-1)/(N-R) provides a biased result for small N.
  • Minor rearrangement of the Plot menu
  • Cursor now remains a cross whenever the mouse is in the Stereonet plot pane.

Version 9.5.0 — 2016.01.03 (Happy New Year!)

  • Major new feature: Plotting applied to lines — contouring, cylindrical best fit, conical best fit and mean vectors — can now be turned on or off on a per data set basis. For example, in a file with three lines data sets, you can now choose to contour only the second set, while continuing to display scatter plots of the other data sets. In the plot menu, the contouring, cylindrical best fit, continual best fit and mean vector menu choices all now have submenus where you can choose: All data sets (to turn on the, say, mean vector of all data sets), no data set (turn off plotting mean vector for all sets), and a separate menu entry to toggle on or off each individual data set depicting the same name as is shown in the Data Sets list box. The All Data Sets submenu choice functions exactly as the main menu choice in previous versions of Stereonet and has the same key command assigned to it.
  • New binary file format — to accommodate the new plotting granularity, I had to implement a new binary file format. The new version of the program can read old file formats, but old versions cannot read the new format. However, Stereonet can now save a binary file in the previous version (back to v. 8.8) for those of you who need backwards compatibility with colleagues/students who have not yet updated. To do so, hold down the Shift and Option (Mac) or Alt (Windows) Keys while choosing File>Save..
  • The choice of Kamb or 1% Area contouring has been moved to the top of the Contours tab of the Inspector palette. This was necessary to make the submenus in the Plot menu consistent. A benefit of this move is that your contouring preference is now saved when you set the Preferences for the app.
  • Printing from the File menu now correctly scales the plot for the page so that none of the symbols are distorted. Note that, although you can use File>Print to save a PDF, the File>Save as PDF will produce a higher quality graphic. The most versatile vector graphic format is File>Save as SVG, if your graphics program supports scaleable vector graphics (all web browsers support SVG and from the web browser you can usually export PDF if you need to do so). Click here to see an SVG file saved directly from Stereonet rendered in your browser.
  • Switched back to PDF help system (on the Mac) and updated the PDF user's manual to v. 9.5. [I never did like the Mac help system —ed.] The PDF Help manual can still be accessed from the Help Menu as long as it resides in the same directory as the program itself (and you con't change the name).
  • Several bugs fixed. Probably lots of new bugs introduced with the above changes. I breathlessly await your reports ;-)

Version 9.3.3 — 2015.11.28

  • Fixed obscure crashing bug that would happen when a lines data set had no points checked.
  • PDF and SVG files now follow the specifications set in the Inspector regarding the symbol and color used for the mean vector and Bingham axes (thanks, Alex!)

Version 9.3.2 — 2015.09.03

  • Fixed a bug that would cause a crash when you chose Edit>Copy All Data and then chose Edit>Paste Into Data Set

Version 9.3.1 — 2015.06.03

  • Corrected a bug where small circle data would not display correctly
  • The mean vector arrow on rose diagrams is always drawn using the rose diagram color (not the data set color) set in the Inspector.

Version 9.3.0 — 2015.05.13

  • Major improvements to the Rose diagram functionality, including:
    • Scale the petals by either length or area (new). Only length was possible before
    • Calculation of the mean direction for axial data (i.e., data with no directional significance). this is sometimes referred to as Krumbein's (1939) mean
    • Half circle rose diagrams always show Krumbein's mean; full circle diagrams can either depict vector azimuths or, if 'treat data as axes' is checked in the Inspector, the full circle diagrams will be symmetric (this has been a highly requested feature that I've resisted until now!)
    • Addition of a Von Mises Distribution option to the Calculations menu which displays the same 2D azimuthal statistics as the Rose diagram displays. The program now calculates the circular variance, kappa, and 1 sigma standard error for azimuthal data.
  • Plots wil polar grids can now be saved as .pdf and .svg files
  • Fixed a bug that occurred when planes were being entered in 'DD' format and the data details window was opened.

Version 9.2.3 — 2015.02.16

  • Corrected a bug that where the equator of the stereonet grid (EW line) would not be drawn in pdf and svg files if the grid was set to 10°.

Version 9.2.2 — 2015.01.31

  • Corrected a bug that would cause Stereonet to crash if a data set required more than 100 contour levels (Thanks to Al L.)

Version 9.2.1 — 2015.01.18

  • Corrected a bug in reading the notes fields when importing a 'Lines & Planes' text file
  • Corrected a bug in saving data that were imported using 'Lines & Planes' (Thanks to Gordon W. For helping me track this down)

Version 9.2.0 — 2014.08.18

  • View>Hide Unchecked Values removes the unchecked values in the data listbox from view.
  • The Search Window remembers your last search and automatically selects the same box.
  • File>Save Plot as PICT/EMF has been disabled (again) because of a still unfixed bug in the compiler I use. The only workaround is to use PDF or SVG format output (these are higher quality that PICT/EMF, anyway..)
  • Bug fixes..

Version 9.1.1 — 2014.07.19

  • Data>Batch Annotate now has a Find and Replace panel so you can you can batch replace any text in the Notes field for multiple observations
  • Rose diagrams now show the number of observations. Also cosmetic changes to rose diagram
  • Stereonet now remembers selected search criteria between searches
  • Corrected a bug that occurred when pasting data into a data set where the copied data had return characters in the notes field (those are now replaced with semicolons)
  • Fixed a rare crashing bug when changing the contour interval in the Inspector (e.g., completely erasing the old interval value before entering a new value)

Version 9.1.0 — 2014.05.29

  • New Data>Batch Annotate command for adding the same annotation to the Notes field of multiple observations all at once
  • Text file and clipboard parsing dialog now allows one to add multiple columns to the Notes field by adding comma or space separated column numbers to the new combo box for the notes field. Each column added to the notes field is put on a separate line of the notes field.
  • The Search dialog now permits you to add the found matches to the existing checked data so you can sequentially add two subsets together.
  • Stereonet now correctly reads numbers entered in non-U.S. formats. It will use the number format specified in the user's system preferences.
  • A minor crashing bug — when the user tried to quit the program when there were no open windows — has been fixed
  • Fixed a bug in reading the old Stereonet v. 6 rake format text files ('RK')
  • Fixed cosmetic issues with reading in the text record from a stereonet binary file.

Version 9.0.6 — 2014.04.18

  • A few bugs associated with deleting data sets squashed (hopefully).
  • Stereonet now checks the screen size and forces the window to be smaller than the maximum screen size, even if a larger window size has been saved with preferences

Version 9.0.4 — 2014.03.18

  • The Parse Clipboard text dialog no longer appears when Using Edit>Copy All Data and then Edit>Paste into Data Set to move data from one data set to another within the program
  • In the Data Details window, up-down arrows have been added next to the datum number text box, allowing one to step easily through a data set, one datum at a time.
  • A bug changing scale in the extended KML export dialog box has been fixed with other minor cosmetic fixes as well.
  • The ability to import Stereonet v. 6 files in the old 'PQ' format (lines in quadrant format, e.g., 45 N 27 W) has been restored.

Version 9.0.3 — 2014.02.11

  • Several small cosmetic bugs related to deleting a data set while contouring is turned on have been quashed.
  • Choosing Data>Enter with Mouse will display a small notification in the upper right hand corner of the Plot canvas. This notification also includes a reminder about what key to press when clicking the mouse to get lines or planes. This notification is NOT saved with the plot.
  • The angle between two clicked points window now displays the line and, if you are working on the second line, the angle between lines as you drag the mouse around. This is particularly useful in conjunction with Enter data with mouse: you can, for example, click one point along a great circle then click and drag the mouse the exact angular distance along the great circle and when you release the mouse, if you are holding the shift key down, the program will plot the second point the specified distance from the first.

Version 9.0.1 — 2014.02.06; 9.0.2 — 2014.03.05

  • Corrected a bug that would cause Stereonet to crash under certain contouring conditions. Thanks to Mario Sánchez Gómez for help tracking down the bug.
  • Corrected a bug reading the Preferences file in versions 8.9.5 and higher. Stereonet 9.0.2 will write a brand new preferences file called 'Stereonet9Prefs.txt' to the appropriate location the first time you run it. If you have made changes to the default Preferences, you will need to set them again and save them via the preferences dialog. Thanks to Myra Keep for helping to track this one down.

Version 9.0.0— 2014.01.28

  • Added two new color contouring options to choose from
  • Corrected numerous cosmetic bugs that reared their ugly heads when a contoured diagram had the size of the stereonet changed.
  • Contouring now works correctly when the view direction is changed from the default

Version 8.9.5, 8.9.6— 2014.01.24

  • Happy New Year update — only one new feature but it is a big one..
  • Contour Fill! Contours can now be filled with either a monochrome or a rainbow set of colors and plotted with or without contour lines. The contour fill can be made partially transparent and multiple datasets can be plotted on the same diagram. You can still plot just contour lines.
  • some menu items have been disabled at start up if there are no data sets entered as selecting them in that condition could cause a crash.
  • copyright updated to 2014 :-)
  • v. 8.9.6 corrects some screen refresh issues related to the new functionality

Version 8.9.2— 2013.11.24

  • Added a new planes format: “DR” which allows one to specify planes as Dip Azimuth and dip (e.g., 242/56) in addition to the already existing “DD” format (e.g., 56/242)
  • If you specify either DD or DR formats, the Data Details window will now show your planes orientations in those formats rather than in Strike and Dip.
  • Added a checkbox to the Inspector to specify a polar grid using either equal area or equal angle (without changing the view direction)
  • Fixed a bug that caused crashes when using two planes calculations.
  • Fixed a bug that caused the “Set Stereonet Radius” (under the View Menu) to work incorrectly.
  • The trend and plunge display in the plot pane was not showing the correct values when the view plunge was not vertical; this has been fixed
  • Disabled the Save Plot as PICT/EMF command as several functions that were used have been deprecated and cause crashes on modern systems. It may or may not be reinstated in the future..

Version 8.9.1— 2013.11.14

Choices of leaders are less puzzling here than in later installments, perhaps, but it must have been a programmer's sick joke to make Mahatma Gandhi a bullying warmonger.Civilization has some interesting world creation settings, which I strongly suggest you use, because the Earth map for it is absolutely terrible (crowded, poorly scaled, and god help you if you picked the English, who are stuck on an island).Civilization is bright and colorful and is a fairly casual play compared to later installments. The biggest strategic factor is Civilization's signature “Wonders of the World” improvement; these unique city projects are as numerous as they are expensive, so building them all yourself is next to impossible on any reasonable challenge difficulty.One of the notable aspects of Civilization was the rather motley and incongruous crew of historical figures used to represent each faction. Download nuclear throne update 98 free for mac pc. This gives you a bit of flexibility in your strategy, though there's only a limited amount of optimization—it's not rock-paper-scissors; units progress with each era in a straight-forward manner—it's more about when you get one of one type over one of the other. One can easily get an entire game in over the course of one late night or a lazy weekend.Review By P. You're presented with opportunities for peace and trade or war and conquest.Advances are less linear than RTS games and improvements are permanent unlike, say, Age of Empires, where you play multiple scenarios with your civilization and start essentially from scratch each time.

  • Stereonet’s help file is now accessible from the new Help menu
  • The Mac version of Stereonet is now code-signed with my own developer certificate from Apple which means that the first time you run it, you no longer have to go through the process of right-clicking on it as described in the text in the upper left of this page.

Version 8.9.0— 2013.10.21

  • You can now import old Stereonet v. 6 format files that used the QD format (e.g., N 60 W 45 N). Stereonet does not save data in this format, but this should help people with legacy files
  • The zoom slider for the Google satellite view in the data details window has now been moved to one side, allowing Windows users to see it, perhaps for the first time! Windows users still do not see the strike and dip (or trend and plunge symbol) that is seen on Mac versions of the program. Sorry..
  • You can click the label for the elevation field in the data details window to retrieve the elevation of the datum from the MapQuest elevation server and will overwrite whatever is already in the elevation field. Any previous values are written to the Notes text area of the Data details window.

Version 8.8.9 — 2013.08.28

  • Kml symbols can now be output as 2D symbols, which of course, are only useful if you are looking straight down in Google Earth
  • More bug fixes

Version 8.8.8 — 2013.08.06

  • More bugs related to reading old Stereonet v. 6 format files corrected. Other bugs also squashed.

Version 8.8.7 — 2013.07.27

  • Corrects a bug reading a data file in AD format using commas as delimiters where the quadrant was given as two letters (e.g., 'SE') rather than just one ('S').
  • Corrects a bug that would cause a crash when reading more than one Stereonet v. 6 format data files.

Version 8.8.6 — 2013.07.04

  • Added a horizontal splitter between the data sets and the data list boxes on the right hand side of the Window so that you can resize their heights
  • Fixed a bug that occurred when deleting a data set
  • Fixed a bug where lines entered as rakes could not be selected by clicking on them in the stereonet
  • Cleaned up some of the code which could, of course, introduce interesting new bugs!

Version 8.8.5 — 2013.06.25, rev. 2013.06.27

  • cosmetic glitch with the Windows splash screen fixed -- not worth changing the version number so download it again if you downloaded in the last few days.
  • A recently introduced version broke the import of Stereonet 6 text files. This has now been fixed
  • Stereonet now quits correctly on Windows when you close the last remaining open Window
  • Tabbing order through dialog boxes has been improved

Version 8.8.4 — 2013.05.13

  • corrected a bug in the Edit>Paste into data set routine that was introduced by the new compiler
  • corrected a bug in the expanded KML save dialog box that you get when you hold down the shift key while choosing that option. Also added more options for using your own kml symbols.
  • Changed the splash screen

Version 8.8.3 — 2013.05.13

  • Option-dragging on a text annotation will duplicate the annotation
  • Compiled in a new compiler with minor interface changes
  • Corrected another crashing bug related to Calculations>Poles and Calculations>Planes from Poles that occurred when no other lines (or planes) data sets were present

Version 8.8.2 — 2013.05.13

  • Corrects a crashing bug in Calculations>Poles and Calculations>Planes from Poles that was introduced in v. 8.7.5. If you have downloaded v. 8.7.5 or 8.8.1 please replace them with this version.

Version 8.8.1 — 2013.05.30

  • Text annotations — Select Edit>Annotate Plot, click on the plot where you want the text to begin, enter your text and specify color and size if you want and your done. You can reposition existing text annotations simply by clicking and dragging then in the plot pane. Handles occur on either side of the annotation during the drag operation. Viewing annotations can be toggled on or off with Plot>Text Annotations, and annotations can be deleted with Edit>Delete All Annotations. Annotations can be up to 64 characters long. When you right- or control-click on an annotation, you will get a contextual menu which will allow you to edit or delete just that annotation.
  • New binary file format — the addition of text annotations has required a new binary file format. Stereonet 8.8 can read all older binary files; older versions will NOT be able to read Stereonet 8.8 binary files. Sorry…
  • Menu options pertaining to particular types of data sets are only enabled if that type of data actually exists. For example, if there are no Lines data sets, Plot>Lines will be grayed out and you will not be able to select it.
  • The usual bug fixes..

Version 8.7.5 — 2013.05.16

  • Drag to reorder the data sets in the Data Sets list box (upper right corner)
  • Improvements to text parsing (via files or the clipboard) so that Stereonet will work better with files generated by GeoID iPhone app
  • You can now copy complete data sets to a new or different document by selecting the dataset in the first document, choosing Edit>copy all data then pasting it into the second document with Edit>Paste into data set
  • Fixed bug in parsing comma separated values.

Version 8.7.0 — 2013.05.01

  • Half circle rose diagrams now work. Use the checkbox in the Analysis tab of the Inspector
  • New menu option to clear the plot: Plot>Clear Plot
  • Cosmetic improvement to drawing 2° grids
  • Fixed some glitches writing the Rose diagram results to the text analysis area.

Version 8.6.6 — 2013.04.11

  • Two planes calculations — line of intersection, acute and obtuse bisectors, and angle between planes
  • Convert to Lower hemisphere — new command to force all data to be in the lower hemisphere. To protect you from yourself, this command creates a new data set rather than overwriting the old one
  • You can now see the data for an unchecked, but selected, data set.
  • Several graphical glitches concerning the plotting of mean vectors have been fixed
  • Rose diagrams are only plotted when the traditional view direction is used (looking straight down on the lower hemisphere)
  • The four add data sets buttons ('+L', '+P', etc.) were getting out of hand so they have been replaced with a single drop-down menu.
  • v. 8.6.6 corrects a minor bug in the convert to lower hemisphere routine that was introduced in the short lived v. 8.6.5

Version 8.6.0 — 2013.03.24

  • Lasso selection now works (but only for lines). You can have it select either those points inside or outside the lasso.
  • New data type: Arcs. Arcs are segments of great circles that are drawn between a starting point and an ending point that you define by entering the trends and plunges of the corresponding lines. Arcs can cross the primitive and you can choose whether to plot the acute or obtuse angle. You can also specify that the program should draw and arrow head at either the start or the end of the arc (or both)
  • Redesign of the Data Sets tab of the Inspector. Now you only see data pertinent to the selected data set. You can select the data set from the popup menu in the Inspector or by clicking on it in the Data sets list box.
  • Fixed (hopefully) a bug with copy and paste on Windows version of the program

Version 8.5.1, 8.5.2 — 2013.03.06

  • Stereonet is now 'document based' meaning that you can open as many different windows with different plots in them as you want.
  • When you start up the program, the About box is now displayed; you should select either the new blank file button or the open file if you want to open a Stereonet binary file. At any time, you can choose File>New and a new blank window will appear; likewise, file>open allows you to open another file while leaving the first one open as well.
  • You can now copy and paste data! Select some rows in one data set and paste them to a different data set in the same window or to a a dataset in a completely different window. You can also copy any tab delimited data from any text file (Including an Excel spreadsheet).
  • if stereonet doesn't recognize the format of data on the Clipboard, it will present you with a dialog box so you can tell it how to parse the clipboard data. Use Edit>Copy all data to include the data that only shows up in the Data Details Window. To paste into an existing data set, you have to use Edit>Paste into Data Set.
  • KML export of geographically registered 3D strike and dip and lineation symbols for plotting in Google Earth (thanks to Tom Blenkinsop and Nestor Cardozo for the idea). Click here for an example. If you use this option, please reference Blenkinsop, T.G., 2012. Visualizing structural geology: From Excel to Google Earth. Computers & Geosciences 45, 52–56.
  • Bug fixes related to not saving the conical best fit with the plot

Version 8.0.4 — 2013.02.14

  • Data entry by mouse was broken and is now fixed
  • Conical best fit now uses the approach outlined in Mulchrone et al. (2013) so that it now works more reliably in the lower hemisphere [oops, not exactly, I'm still working on this.]
  • Other bug fixes and improvements

Version 8.0.2 — 2013.01.24

  • Fixed various issues related to rake format ('RK') and rake preferences selection, including a rotation bug
  • Fixed window rewriting problems when setting the stereonet size from View>Set Stereonet Size.
  • Details window now has a '2x' checkbox that will enable you to double the size of the satellite image/map

Version 8.0.1 — 2012.11.23 (counter reset)

  • Corrected a crashing bug in the Analysis tab of the Inspector when only planes were entered
  • Added a character count to the Notes field in the Details Window so you can tell when you are getting close to the 512 character limit for that field. Character count turns red when you exceed 512 characters

Version 8.0.0 — 2012.10.22

  • Major feature: Plotting lines or planes on Google satellite (shown above), terrain, or roadmap imagery by choosing Window>Data Details
  • New native data (binary) format now includes location information plus free form notes field where you can write anything about a datum in 512 characters or less. Stereonet 8 can read Stereonet 7 binary files (but not vice versa…)
  • Ability to parse any column oriented text file — particularly useful for entering location data.
  • Search across single or multiple data sets based on orientation, location or date info, or any text fragment from the free form notes field.
  • Axial plane finder in Calculations menu provides basic fold geometry analysis.
  • Return of the conical best fit routine.
  • Angle between clicked points now shows trend and plunge while clicking.
  • Fixed a bug in adding new data to existing data sets.
  • Unresolved issue: The Windows version draws the Google image on top of the orientation symbol and the scale slider. You can still scale the image with the scroll wheel of the mouse.

Version 7.3.6 — 2012.09.23

  • The Mac OS X version of the program is now a native Cocoa app with a more modern interface rather than the Carbon app as previously.
  • Corrected a bug in the angle between two planes routine
  • Corrected a bug introduced in previous version related to saving a new default window size from preferences
  • Disclosure triangle/arrows now behave in a more 'standard' manner

Version 7.3.5 — 2012.09.18

  • Scans can now be repositioned by dragging them within the plot window by selecting Edit>Drag Image
  • Return of the Apparent Dip Calculator! You can use lines or a plane selected in an existing data set, or you can enter new values directly into the dialog box. The results can be written to an existing data file or a new data file for plotting. The Apparent Dip Calculator is a floating window that you can keep open if you have a lot of calculations to do.
  • Default height of the main window has been reduced to 640 pixels to accommodate users who prefer to keep their screen resolutions at low values (e.g., to increase the size of text on their screens). This will hopefully avoid the artifact that cause the text box to overwrite the bottom of the plot area. You can still resize the window to larger sizes once the program has been opened.
  • To compensate for the smaller initial main window size, a a new check box in the Preferences dialog, 'Set current window size to default', will allow you to have set the initial size of the window to whatever you what.
  • Removed Plot Planes as Poles option. It was confusing too many people, particularly when they couldn't do a cylindrical best fit. Now, if you have entered planes and want to plot poles, you will have to choose Calculations>Poles first (which was the original behavior of the old Stereonet. If it turns out that LOTS of people loved plotting planes as poles without calculating poles first, I'll consider reinstating it.


Version 7.3.0

  • New Feature — import scans of existing stereonet plots, and overlay beneath the live stereonet in the program. You can use this to compare your data to published data or, in combination with Data>Enter with Mouse, you can extract digital values from published stereonets. Scans can be imported as pdf, tiff, png, or jpeg formats. New Plot menu option allows you to show or hide a scan.
  • New Feature — SVG (scalable vector graphics) output option for your plots. .svg is an open, high resolution graphics format that can be read by most modern graphics programs. Unlike other graphics output options in Stereonet, .svg saves small and great circles as open polygons rather than separate line segments for ease in touching up plots in graphics programs. Both .svg and .pdf options are higher resolution than the emf/pict format.
  • Bug fixes related to window display.


Version 7.2.4 — 2012.02.21

  • Mac version of Stereonet 7 posted for those who need a Carbon program that works on Mac OS X operating systems older than 10.6 or for those who need compatibility with the Stereonet 7 for Windows binary file format. For Mac users who have Mac OS X 10.6 or higher installed, I still recommend OSXStereonet. Also posted the Linux version of the program as I have had a few requests for one of those.
  • Corrected bugs related to deleting a data set or an individual datum from a data set
  • Fixed the default setting for Bingham axes to plot all three axes plus the great circle. (The program was defaulting to plotting only the largest principal axis)
  • Deactivated the maximize button in the main window as it was not stretching the window elements correctly. You can still resize the window to whatever you want by dragging the edge/corner of the window.
  • When no data sets are selected in the data sets listbox, no data will be displayed in the data listbox.
  • Added several informational dialogs:
    • If a user tries to delete a data set, they are warned that it is undoable and they have the option of canceling
    • If a user tries to do a cylindrical best fit when only planes have been entered they are now advised that they must calculate the poles first as cylindrical best fit only works on lines data sets. Users have been confused because of the option to plot planes as poles.
    • If a user tries to rotate a 'selected' data set but no data set is selected in the data sets list box.

Version 7.2.3 — 2012.01.11

  • Now uses GDI+ for anti-aliased (i.e., smoother) drawing to the screen.
  • Copyright updated to 2012 :-)

Version 7.2.1 — 2011.11.18

  • Variable rotation by unfolding beds. Choose a lines or planes data set, then select the data set that contains bedding where the observations were made, and click Okay. each datum will be unfolded by rotating the corresponding bedding back to horizontal.
  • Rose diagrams for planes: If the planes format is 'AD' or AZ' the rose diagram will be based on the strikes of the planes; if the format is 'DD' the rose diagram will be based on the dip azimuth rather than the strike azimuth.

Version 7.2.0 — 2011.11.07

  • Major new feature: enter data with mouse by clicking and dragging inside the stereonet.
  • Fixed bug where window not resized correctly when reading in a binary file
  • Fixed bug where program tried to draw error cone even when normalized mean vector length was <0.65

Version 7.1.6 & 7.1.7 — 2011.10.26

  • Planes can now be drawn as either solid or dashed lines
  • If only rose diagrams are showing, the equal area angle grid is not displayed. Instead equally spaced concentric circles, at either 5 or 10 percentage intervals, and spokes at 10° intervals are drawn and labeled as a scale for the rose diagram. This happens automatically and only when rose diagrams and nothing else are displayed. The value at the primitive is controlled by the entry in the Inspector Analysis tab.
  • The outer edge of rose petals are now drawn as an arc rather than as a single straight line segment, which is much more attractive!
  • Plot mean vector on rose diagrams has been enabled
  • Fixed some interface bugs related to showing or hiding the data panels
  • Significantly speeded up selecting tabs in the Inspector -- Yay!

Version 7.1.5 — 2011.10.07

  • You can now hide the data set list and data list panes by toggling a disclosure triangle or from the Windows Menu. This makes the overall window narrower, which might be of help for people on small screens or if, for some reason, you want to hide the data.
  • Various optimizations to improve performance selecting from the Data set list. The Inspector also appears more rapidly, though selecting tabs remains sluggish (sorry…) FIXED in v. 7.1.7
  • Fixed a bug where reading in a binary file that was saved with a view plunge of 90 degrees would be read in with a view plunge that wasn’t exactly 90 degrees
  • Fixed a bug associated with calculating poles from planes and planes from poles
  • Planes can now be visualized as great circles and poles simultaneously

Version 7.1.2 — 2011.09.13

  • Cylindrical best fit now draws the best fitting plane and writes its orientation to the Analysis text pane
  • When you add a new data set, the appropriate plot type is automatically selected so you see your data plotted as you enter it. E.g., if you select new lines, Scatter will be turned on in the Plot Menu, etc.
  • Preferences dialog box has been added to allow the user to set their preferred default data format and stereonet format settings.

Version 7.1.1 — 2011.08.30

  • Fixed a bug in the Dip, Dip Azimuth (DD) format for planes. Previous versions did not handle this format correctly
  • Added uncertainty calculations to the cylindrical best fit/Bingham statistics
  • Disabled pop up menu for planes style in Inspector because those options have not yet been implemented -- FIXED in 7.1.7
  • minor bug fixes

Version 7.1.0 — 2011.08.21

  • Drawing contour lines has now been implemented. You can now do either Kamb or 1% area contouring by selecting one of those options in the Contour submenu of the Plot Menu.
  • Contour lines are saved to PDF files and EMF files, they will print, and they are copied to the clipboard with the rest of the plot
  • Contours do not yet have a fill pattern. Those options have been turned off in the Contour tab of the Inspector
  • Lots of little bug fixes.

Version 7.0.4 — 2011.08.18

  • Yet another new binary data format. Previous files will not read in correctly, so I hope that you have been exporting your data as text files!
  • Stereonet can now handle input data of lines as rakes (pitches) on planes. To enter a new line-on-plane data set via rakes, hold down the shift key while clicking on the +L button. This will cause both a new lines and a new planes data set to be entered. These data sets should have the same name. The two letter format code for such data sets is “RK”.
  • The format code in the Data set list box has been changed to a two or three letter code, identical to that shown in the table in earlier in the users manual and as used by earlier versions of Stereonet.
  • Changing the format code in the Data set list box will now change the format of the data listing.

Version 7.0.3 — 2011.08.17

  • New binary file format. It will read the old format with only minor glitches in the analysis text. Nonetheless, you should re-save all of your binary files.
  • Interface for contouring has been put in place (e.g., the Inspector now has a Contours tab) but contouring itself still does not work.

Version 7.0.2 — 2011.08.16

  • minor bug fixes and behavior changes
  • more predictable Inspector behavior

Version 7.0.1— 2011.08.15 -- Initial beta release!

  • Things that are known not to work in this release (some may never be fixed…):
  • [Contouring has not yet been implemented] -- FIXED, mostly in v. 7.1.0
  • Set view direction does not work with latitude-longitude plots. This means that you are effectively limited to viewing continents in the Western Hemisphere
  • Conical best fit has not yet been implemented
  • [Adding lines by their rake in a plane has not yet been programmed] -- FIXED in v. 7.0.3
  • There is no way (yet) to combine data files, either by appending them to existing data sets or by or by copying and pasting between data sets
  • Plotting small circle in the upper hemisphere is broken
  • Variable rotation (e.g., by unfolding lines associated with bedding) has not yet been implemented
  • Half circle rose diagrams and plotting mean directions for rose diagrams have not yet been implemented
  • Refreshing the data listing does not always work. You may have to click on the data set again to refresh the data listing -- FIXED
  • There is no way to control the format of the data listing at present -- FIXED in v. 7.0.3
  • There is currently no way to parse an unidentified text file that does not start with the standard two character header from earlier versions of Stereonet.

When a view is printed, there are several options for how it is placed on the page. If the view is larger than a single page, the view can be clipped, resized, or tiled across multiple pages. The view’s location on each page can be adjusted. Finally, the view can add adornments to each page. The following sections describe the options available for placing the view onto a page.

Selecting the Page Bounds for Content That Exceed a Single Page

When a view is too large to fit onto a single page, the view can be printed in one of several ways. The view can tile itself out onto separate logical pages so that its entire visible region is printed. Alternatively, the view can clip itself and print only the area that fits on the first page. Finally, the view can resize itself to fit onto a single page. These options can be set using the NSPrintInfo object’s setHorizontalPagination: and setVerticalPagination: methods with the constants NSClipPagination, NSFitPagination, and NSAutoPagination. The separate methods for horizontal and vertical pagination allow you to mix these behaviors. For example, you can clip the image in one dimension, but tile it in the other. If these options are not sufficient, the view can also implement its own pagination scheme. The following sections describe each option.

Custom Pagination

To provide a completely custom pagination scheme that does not use the built-in pagination support of the NSView class, a view needs to implement only two simple methods and set

  1. Set up the pagination mode (NSPrintingPaginationMode) using the the appropriate method of NSPrintInfo (setHorizontalPagination: or setVerticalPagination:

  2. Override the knowsPageRange: method so it returns YES to indicate the custom view will collocate the dimension of each page.

  3. Implement the rectForPage: method so it uses the page page number and the current printing information to calculate an appropriate rectangle in the view’s coordinate system. The printing system sends a rectForPage: message to your app before each page is printed, base on the range of pages the user selects in the Print panel. Note that the vertical and horizontal pagination settings in the NSPrintInfo object are ignored (unless your implementation takes them into account).

Listing 4-1 shows a simple implementation that splits a view vertically into pages that have the maximum size. The code does not show setting the pagination mode, which you must do.

Listing 4-1 Code that splits the view vertically into pages

Adding Page Numbers, Crop Marks, and Date-Time Strings to the Page

When you perform custom pagination, you can override the drawPageBorderWithSize: method to add extra features to the page, such as crop marks, date/time strings, or page numbers. When you override drawPageBorderWithSize::

  1. Save the view’s existing body frame—you will need to restore it at the end of the method.

  2. Resize the body frame to a rect with origin (0,0) and a size equal to the incoming borderSize parameter.

    This new frame now encompasses the margins instead of hiding them.

  3. Add your custom border elements to all four margin areas (top, bottom, left, and right).

    You typically use the drawAtPoint: method for drawing. Any set of drawing calls must be preceded by lockFocus: and followed by unlockFocus:, otherwise drawPageBorderWithSize: will not draw anything to the page for those calls.

    Use the paper and margin dimensions from the print info object to constrain the printable area and prevent drawPageBorderWithSize: from printing within the body text frame. If you want to print within the body text frame—to print a watermark, for example—do so by printing directly in the newly enlarged frame and ignoring the margin constraints.

  4. Reset the frame to the body text area before exiting the method.

    This assures the next page of content will print only within the paginated portion of the view.

Tiling Content Across Pages

If the view does not supply its own pagination information and one of the print info object’s pagination settings is NSAutoPagination, NSView tries to fit as much of the view being printed onto a logical page, slicing the view into the largest possible chunks along the given direction (horizontal or vertical). This is sufficient for many views, but if a view’s image must be divided only at certain places—between lines of text or cells in a table, for example—the view can adjust the automatic mechanism to accommodate this by reducing the height or width of each page.

Before printing begins, the view calculates the positions of all the row and column page breaks and gives you an opportunity to adjust them. The adjustPageHeightNew:top:bottom:limit: method provides an out parameter for the new bottom coordinate of the page, followed by the proposed top and bottom. An additional parameter limits the height of the page; the bottom can’t be moved above it. The adjustPageWidthNew:left:right:limit: method works in the same way to allow the view to adjust the width of a page. The limits are calculated as a percentage of the proposed page’s height or width. Your view subclass can also customize this percentage by overriding the methods heightAdjustLimit and widthAdjustLimit to return the fraction of the page that can be adjusted; a value of zero indicates that no adjustments are allowed whereas a value of one indicates that the right or bottom edge of the page bounds can be adjusted all the way to the left or top edge.

Clipping Content to the Page

If one of the print info object’s pagination values is NSClipPagination, the view is clipped to a single page along that dimension. If the horizontal pagination is set to clipped, the left most section of the view is printed, clipped to the width of a single page. If the vertical pagination is set to clipped, the top most section of the view is printed, clipped to the height of a single page.

Fitting Content to the Page

If the print info object’s pagination setting is NSFitPagination, the image is resized to fit onto the page. Although vertical and horizontal pagination need not be the same, if either dimension is scaled, the other dimension is scaled by the same amount to avoid distorting the image. If both dimensions are scaled, the scaling factor that produces the smaller image is used, thereby avoiding both distortion and clipping. Note that print info object’s scaling factor (NSPrintScalingFactor), which the user sets in the Page Layout panel, is independent of the scaling that’s imposed by pagination and is applied after the pagination scaling.

Positioning Content on the Logical Page

The NSView method locationOfPrintRect: places content according to several print info attributes. By default it places the image in the upper left corner of the page, but if the print info object’s isHorizontallyCentered or isVerticallyCentered methods return YES, it centers a single-page image along the appropriate axis. A multiple-page document, however, is always placed at the top left corner of the page so that the divided pieces can be assembled at their edges.

Override this method to position the image yourself. The point returned by locationOfPrintRect: is relative to the bottom-left corner of the paper in page coordinates. You need to include the page margins when calculating the position.

After the NSView position the rectangle on the page, it invokes drawPageBorderWithSize:. If you haven’t implemented this method, nothing happens. If you have implemented drawPageBorderWithSize:, any extra marks—crop marks, page numbers, and so on—you draw in this method are added to the page. The drawPageBorderWithSize: method is invoked by the printing system once for each page.

See Custom Pagination for more information on using drawPageBorderWithSize:.



Copyright © 2002, 2012 Apple Inc. All Rights Reserved. Terms of Use Privacy Policy Updated: 2012-12-20

Popular Posts

  • Building Cocoa Applications: A Step-by-Step. Four-function calculation application that\'s similar to the calculator that comes with Mac OS X MathPaper (Part III) An application that is similar to a word processor but that. People who lack the dexterity or the vision required to accurately use a mouse can still benefit from the Mac OS.

    Stereonet 11 is a huge release with a completely new and robust internal data structure and an openGL 3D view of the lower hemisphere for teaching purposes. It includes almost all of the goodness of Stereonet 10 and lots of subtle new tweaks as well (check out the detialed version history, below). This version of Stereonet is compatible with all modern operating systems and has a modern user interface which has been modeled after OSXStereonet for Mac by Nestor Cardozo and me. It can read and write older Stereonet text files, can read the Stereonet 11 binary files, but saves its data in a new binary format.

    For those hardy souls using Linux, you too can download a copy of Stereonet 11, though I have never seen it run on a Linux box and don\'t know if there are any compatibility issues!

    For long term viability of your data, however, you should still export any work as text files which will always be readable by a large number of programs.

    A comprehensive manual is included with the zip archive. For Mac Users still on Mac OS X 10.5 and lower (Leopard, Tiger, etc.), you can download a Carbon version of Stereonet. Note that this version will not be kept up to date with the above Cocoa version.

    Version History

    Versions 11.0.2, 11.0.3 — 2020.05.14

    • New, modern, internal data structure
    • 3D view can be grabbed and rotated with the mouse to help students visualize the lower hemisphere. With the mouse scroll wheel, you can even fly through the model! 3D view colors and plot elements are user configurable
    • Drag data sets to change the order of plotting of individual data sets.
    • New menu commands: Data➤Merge With and Data➤New Dataset from Selection
    • Label individual observations (in addition to text annotations)
    • Revamped axial plane finder (no more acute and obtuse angle confusion!)
    • Change data formats with new dropdown menu in the Datasets Listbox
    • Open Recent submenu in the File Menu gives you rapid access to the last ten files you have opened.
    • UNDO (finally!)!! You can now use Edit➤Undo Delete if you change your mind about having deleted a dataset or a group of individual data points. You can only undo the most recent deletion and Undo does not work on plot changes (because you can already undo those by changing your Plot Menu selections) or operations (because Operations now always create new datasets rather than replacing existing data sets).
    • Inspector Palette now opens automatically to the Datasets Tab and selected dataset if there is a selected dataset. Otherwise it opens to the Stereonet Tab.
    • Option to dynamically change point size with changes in window size.
    • Option to use Aki-Richards format for lines on planes (i.e., rake)
    • Completely rewritten users manual (which I’m sure you’ll want to read carefully ;-)
    • Things that are different/missing with respect to Stereonet 10:
      • .SVG output is not currently available in v. 11. The PDF output is now very robust and can be used in all cases where you would have used SVG. If you want SVG let me know so I can gauge the interest in its return to v. 11.
      • Lines in Latitude-longitude format for plotting continent outlines on the upper hemisphere. My impression is that this feature was almost never used. If you would like to see it return, let me know
      • Printing. Due to a bug in the compiler that I use, printing is currently disabled. As soon as the compiler is fixed, printing will be enabled.

    Versions 10.4.6 — 2020.03.19

    • Fixes an issue where text annotations would lose their place and be misplotted after saving and reopening a file.
    • Some file icon issues fixed.
    • Crashes should be somewhat more graceful though no promises!

    Versions 10.4.5 — 2020.02.25

    • Fixes a recently introduced bug where the Details Tab was blank when the user imported a text file from Stereonet Mobile.

    Versions 10.4.4 — 2020.01.31

    • You can now plot small circles in the upper (or lower hemisphere)
    • Updated about box to a 2020 date!

    Versions 10.4.2 — 2019.10.08 (PDFs & the clipboard finally work right release ;-)

    • The mac version now comes as an installer package that is notarized by Apple for all of you Catalina early adopters!
    • The help file PDF is now incorporated into the application package. No more separate PDF files. Unless you remove the help pdf from the resources folder, it should always be available.
    • Fixed a bug where the Parse Text File dialog displayed white text on a white background when in dark mode
    • Fixed a bug with autonumbering batch annotations
    • When importing a text file in the older stereonet format (a one line header with a two character code), any lines after the one line header that start with “#” will be ignored.

    Versions 10.4.0, 10.4.1 — 2019.10.01 (PDFs & the clipboard finally work right release ;-)

    • New robust PDF engine. Saved PDF files are vastly improved. Great and small circles are now polygons rather than unconnected line segments.
    • When the stereonet pane has the focus (blue focus ring), you can copy the graphic as a PDF in memory. Most Mac and many Windows graphics and word processing apps will recognize and paste the PDF at its original vector resolution. When saved to the clipboard the PDF is cropped to the size of the graphic on the screen
    • Fixed incorrect plotting of small circles when the view direction is not the default.
    • Other bug fixes. (v. 10.4.1 fixes a problem with pdf colorspaces)

    Versions 10.2.9 — 2019.04.03Wd my passport for mac not showing up.

    • Fixed a crashing bug which occurred when calling planes from poles under certain conditions (Thanks, Will)

    Versions 10.2.8 — 2019.01.28

    \'Accurately
    • Fixed a crashing bug which occurred when you opened a blank window and then tried to open a saved binary file, either by double clicking on the desktop or using File>Open.

    Versions 10.2.7 — 2019.01.21

    • Parse text file and Parse clipboard can now recognize and will try to parse latitude and longitude in degrees, minutes, seconds, hemisphere format. You can have a mixture of formats in a single column and all will be parsed in one pass.
    • Parse text file and Parse clipboard can now recognize and will try to parse dates in a single column such as \'5/22/18\'. Assign the year column to the column that has the date. Years can be either two or four digit. The parsing follows the format specified for dates in your computer’s system so that, if you are in South America and write the day first that should be recognized correctly.
    • Map Window on the Mac now displays the Longitude and latitude at the mouse location as you move the mouse over the map/satellite image.

    Versions 10.2.5 (Mac only)— 2018.11.01

    • The map window can now show all of the selected observations on a satellite image. Simply select the observations that you want to see and click on the map tab and your map will appear automatically. [This is a Mac-only upgrade because the web browser in the Windows version does not permit graphic overlays. I don’t know of any fix for this issue, unfortunately…]

    Versions 10.2.0 — 2018.10.30

    • Fixed and improved Google Satellite imagery viewing. Now view satellite images at any size/scale. Use built in “+” and “-“ buttons to zoom. IMPORTANT NOTE: You can now drag the satellite image to view different parts of the area, however doing so will cause the displayed strike and dip symbol to become mislocated. To correct this, just press the “Re-center” button. Explanation: Google changed it’s 3rd party image use policy in summer 2018. Older versions of Stereonet used Google Map Static images which are now billed to the programmer at $0.002 per hit! This version of Stereonet now uses embedded map images which, for the time being, remain free but have less flexibility than the static images.
    • Improved (i.e., less confusing) interface for uploading data to StraboSpot
    • Updated developer credential on the Mac.
    • Implemented the Mac OS X Mojave “Dark theme”. If you select dark theme in system Preferences, then Stereonet will be fully dark theme compliant.
    • A real, honest to goodness installer for Windows versions!!! No more sloppy .dll’s hanging out all over the place :-)

    Versions 10.1.6 — 2018.08.09

    • Fixed a bug in the rose diagram plotting routine where, under certain conditions, not all of the azimuths in the first or last bin would be counted (thanks, Tobias!).

    Versions 10.1.5 — 2018.08.03

    • Batch changing/assignment of StraboSpot attributes and location/time/data metadata. With the details tab open select all of the individual measurements you want in the data listbox on the right. Any value typed into any text field (or any selection from a popup menu) will instantly be applied to all selected observations. This is a great way to apply basic StraboSpot attributes to old data sets that you might have. Be careful, though as the change is instantaneous and there is no undo! [The Notes field is still changed only using Data>Batch Annotate command]
    • With StraboSpot uploads, you can now choose to upload just the selected data set or all data sets. Use the radio buttons in the Strabo upload dialog box
    • Corrected a bug where non-unique id numbers were very occassionally used in StraboSpot uploads.
    • Additional bug fixes.

    Versions 10.1.1 — 2018.02.19

    • A recent build inadvertently turned off the high DPI awareness. That has been fixed in this version so the program should once again look nice and crisp on your retina display (thanks, Nestor!).

    Versions 10.1.0 — 2018.02.19

    • Refactored the contouring code to make contouring much faster and more efficient. There is no new functionality, but contouring will be much nicer to use because it is about 2-3x faster.
    • Search dialog box now allows you to use the StraboSpot terminology for lines and planes to help define your search.

    Versions 10.0.4, 10.0.5, 10.0.6 — 2018.01.30

    • This version corrects a non-crashing bug that occurred when you chose to smooth 1% area contours.
    • Saving binary files in older Stereonet formats (e.g., v. 9.5, v. 8.8) produced corrupted files that would cause the program to crash when trying to read those files back in. This has been fixed (thanks, Mauricio).
    • Stupid rotation bug introduced in 10.0.2 has been fixed (thanks, Matt).

    Version 10.0.3 — 2018.01.21

    • This version corrects an issue where Stereonet would crash on systems that did not previously have Stereonet on them. The program was looking for a prefs file that didn\'t exist (thanks, Emile)

    Version 10.0.2 — 2018.01.18

    • New prefs choices lets you set a default geologist\'s name and whether or not to time and date stamp data newly entered into the program via the keyboard (but not reading a text file or pasting from the clipboard.
    • Partially fixed bugs associated with entering lines as latitude and longitude. This should now work for the western hemisphere, but setting the view direction for the eastern hemisphere still does not work correctly (thanks, Nathan).
    • Calculating poles from planes would cause the program to crash if the data had been entered via the keyboard in earlier versions of v. 10. This has now been fixed (thanks, Andrew).

    Version 10.0.1 — 2018.01.14

    • Corrects a bug that would cause a crash when a text file was imported and then saved as a .stnt format binary file. This bug only affected v. 10, not previous versions. (Thanks, Dan!)

    Version 10.0.0 — 2017.12.21 (Happy Holidays!)

    • Assign StraboSpot data types: You can now assign StraboSpot terminology to your lines and planes observations. Select an individual line or plane, click on the new Details Tab, and choose the terminology from the popup menus at the bottom of the box.
    • Upload your data to your account at StraboSpot from within Stereonet: Simply choose File>Upload to StraboSpot, enter your credentials, and select the project to which you wish to save your data. You can also create a new project from within Stereonet before uploading to StraboSpot.
    • New tabbed interface. The data details window has been eliminated and it\'s functionality moved to the Details and Map tabs in the main Stereonet Window.
    • Compatability with the new Stereonet Mobile file format so you can read and write your data in that format for moving data between iPhone and desktop apps.
    • bug fixes.

    Version 9.9.6 — 2017.08.11

    • The desktop version of Stereonet (all versions) has been updated to read the latest version of Stereonet Mobile data file.

    Version 9.9.5 — 2017.03.28

    • A windows only fix to restore the text and clipboard parsing of ASCII text data.

    Version 9.9.4 — 2017.03.14

    • A new interface behavior borrowed from Stereonet Mobile: when you select Data>Enter with Mouse, the grid will rotate as you move the mouse around. For lines (hold down the Shift Key), you will see a polar grid with lines radiating outward from the center and small circles centered on the middle of the plot. This grid makes it particularly easy to visualize trend and plunge. For planes (hold down the Option/Alt Key) the entire grid rotates so that, while you are dragging the pole to the plane around the net, the great circle is always parallel to great circles on the underlying grid. This may make it easier for students to visualize how the stereonet works
    • Minor bug fixes

    Version 9.9.3 — 2017.01.24

    • Change to accommodate Stereonet Mobile file format change for notes.
    • Change copyright date
    • Bug fixes

    Version 9.9.2 — 2017.01.24

    • Support for Stereonet Mobile input and output.
    • Removed support of Windows HiDPI resolution as that may have been causing some problems for some users..
    \'Text\'

    Version 9.9.1 — 2016.12.09

    • Text glitches on the Windows platform, including dislocation of text annotations and the position of the color legend for contours, fixed.

    Version 9.9.0 — 2016.12.05

    • Now available in 64-bit versions as well as 32-bit. Because all recent Mac operating systems are 64-bit compatible, Stereonet for Mac is now only available as a 64-bit app. For the time being, Windows and Linux versions are available in both flavors but that could change relatively soon. Note that I do not have 64-bit versions of either Windows or Linux to test these on! The 64-bit versions are considerably faster than the 32-bit versions, especially where a large number of calculations are involved (e.g., contouring).

    Version 9.8.6 — 2016.11.21

    • Fixed a bug in rotating all checked data sets that occurred when the first few data sets were not checked (thanks, Andrew)
    • You can now rotate small circles and arcs data sets

    Version 9.8.5 — 2016.11.08

    • Fixed a bug when entering Lines on Planes (i.e., planes and rakes of lines) using the new data set pop down menu (thanks, Jakob)

    Version 9.8.4 — 2016.11.08

    • Fixed a bug when calculating poles from a PT-formatted lines file
    • Overturned beds can now be entered with a dip > 90 or with a dip < 0. For instance, here are two ways of specifying the same overturned bed using right hand rule: 010, -35 or 190, 145. In dip direction and dip format (DR), this same overturned bed could be entered either as 100, -35 or as 280, 145.

    Version 9.8.3 — 2016.07.28

    • The new prefs file format was causing unexpected behaviors under certain conditions. This version completely rewrites older prefs files. You will lose whatever settings you had previously made so you will have to set them again in the Inspector and the Preferences dialog. Sorry..

    Version 9.8.2 — 2016.07.24

    • Exponential contour smoothing based on Robin and Jowett (1986), only 30 years after the fact! Smoothing is optional and can be turned on or off in the contours tab of the Inspector.
    • Contour grids as dense as 80 x 80 can now be set (although 40 x 40 is fine for almost all applications, and is considerably quicker). If you want a dense contour grid, I recommend that you turn on show legend (if you want one) before specifying the dense grid to avoid some temporary graphical artifacts. In combination with the above exponential smoothing, this can result in very nice smooth contours.
    • Optimizations to speed up contouring a bit.
    • Fixed a bug in dragging a scan. Scans now stay put where you dragged them.

    Version 9.8.0 — 2016.07.15

    • A color bar legend for contour plots in Stereonet can now be drawn by selection the \'Show Legend\' checkbox in the Contours tab of the Inspector palette. This legend is saved with the plot or when printing
    • Rose diagrams now have the option to center the first bin on zero. Let\' say you have a 10° bin size; normally the first petal would be between 0 and 10°. If the \'Center bin on zero\' is checked in the rose diagram section of the Inspector the first bin would be between 355° and 5°. Especially for sparse data sets, this can produce significant changes in appearance of your rose diagram, suggesting that aggressive interpretations are unwarranted!
    • Several behind the scenes changes to the slope stability section to improve robustness of operation, especially when saving data for reanalysis at a later time
    • New binary file format is necessary to enable all of the new functionality of the last few versions to be saved in the binary file.
    • From the file menu, you can now save a binary file in the current format (v.9.8) or either of the two previous binary formats (v. 9.5, v. 8.8). This gives you backwards file format compatibility to the version of the program released more than three years ago. The keyboard shortcut (⌘S or Ctrl-S) for saving a file will automatically save the most recent binary file format.
    • When you calculate poles from planes (or vice versa), the newly created data set will be assigned the same color as the original data set
    • Prefs file updated with new functionality
    • Corrected a bug in the rose diagram routine where azimuths of exactly 360 were not being counted properly.
    • minor fixes and tweaks.

    Version 9.7.0 — 2016.07.11

    • Lines data sets can now also be plotted on a data set by data set basis using submenus in the plot menu. Likewise, the data sets submenu for rose diagrams allows you to select individual lines or planes data sets for plotting and analysis.
    • Bug fix in the search algorithm (Data>Search..) that cause a crash under certain conditions when Select opposite was selected.

    Version 9.6.2 — 2016.06.11

    • Added the option to measure slope angle limits in the plane (rather than horizontal)
    • Fixed a bug that prevented saving small circles as PDF or SVG with negative plunges (thanks, Sarah!)
    • Small tweaks in the Inspector

    Version 9.6.1 — 2016.05.26

    • Fixed an error where the uncertainty cones were not showing up when mean vector plots were saved as PDF or SVG (thanks, Luke!).

    Version 9.6.0 — 2016.05.15

    • New feature — Slope stability analysis. A stereonet plot for planar or wedge failure on rock slopes can now be accomplished by selecting Calculations>Slope Stability… This feature is explained in more detail here. Note that Stereonet is NOT a professional geotechnical engineering program and the user assumes all risk associated with the implementation of this feature!
    • New Feature — Calculate the lines of intersection for all of the checked planes in a data set (useful for wedge slope failure) by selecting Calculations>All Planes Intersections. The resulting intersection lines are placed in a new lines data set. The notes field for the lines datum will tell you which two planes produced that intersection line. Note that the number of intersection lines is N*(N-1) where N is the number of planes. If the number of checked planes is >50, Stereonet will warn you in a dialog box that the number of lines will be large and allow you to cancel the operation. If you proceed with calculating a large number of intersection lines, be prepared to wait several seconds!
    • Some crashing bugs related to contouring fixed

    Version 9.5.4 — 2016.04.26

    • Fixed yet another crashing bug that occurred when the user had the Inspector Window open and a plane selected in the Data Sets tab, created a new planes data set then clicked on the newly created data set in the Data Set Listbox (thanks, Josh)

    Version 9.5.3 — 2016.03.03

    • Fixed a crashing bug that could occur with a large number of data sets.
    • Fixed several cosmetic issues related to the appearance of mean vectors in PDF and
      SVG plots

    Version 9.5.2 — 2016.01.19

    • Fixed several crashing bugs that would occur when you opened the Inspector and clicked on the Contours tab when no data sets were entered
    • The mean vector for rose diagrams is now always drawn on top of the petals and always in black.
    • The new default for rose diagrams is \'treat data as axes\' (unless you have previously saved Preferences with that option turned off in the Inspector). [If you plot the mean vector and it doesn\'t appear to make sense, open the Analyses tab of the Inspector and make sure that \'treat data as axes\' is checked in the Rose diagram section. See Chapter 2 of my structure lab manual to understand why this happens.] With treat data as axes checked, the mean vector is calculated using Krumbein\'s mean and the von Mises Circular (azimuthal) distribution also reports Krumbein\'s mean.
    • Mean vector in half circle roses now plots correctly.

    Version 9.5.1 — 2016.01.07

    • The inevitable bug fixes after a major change: this time correcting some rogue menu checking behavior under certain conditions. Also, Plot Menu was not updating correctly after importing Stereonet v. 6 format files.
    • Mean vector calculation concentration factor (kappa) calculation has raised some concerns because Stereonet used/uses the Fisher et al. (1987, eqn. 5.26) estimation for N<16. The program now reports both the standard Fisher (1953) estimation and Fisher et al. (1987) estimations where you have fewer than 16 vectors. This should result in greater compatibility with some paleomag programs that only use the 1953 formulation, but bear in mind that some people think k = (N-1)/(N-R) provides a biased result for small N.
    • Minor rearrangement of the Plot menu
    • Cursor now remains a cross whenever the mouse is in the Stereonet plot pane.

    Version 9.5.0 — 2016.01.03 (Happy New Year!)

    • Major new feature: Plotting applied to lines — contouring, cylindrical best fit, conical best fit and mean vectors — can now be turned on or off on a per data set basis. For example, in a file with three lines data sets, you can now choose to contour only the second set, while continuing to display scatter plots of the other data sets. In the plot menu, the contouring, cylindrical best fit, continual best fit and mean vector menu choices all now have submenus where you can choose: All data sets (to turn on the, say, mean vector of all data sets), no data set (turn off plotting mean vector for all sets), and a separate menu entry to toggle on or off each individual data set depicting the same name as is shown in the Data Sets list box. The All Data Sets submenu choice functions exactly as the main menu choice in previous versions of Stereonet and has the same key command assigned to it.
    • New binary file format — to accommodate the new plotting granularity, I had to implement a new binary file format. The new version of the program can read old file formats, but old versions cannot read the new format. However, Stereonet can now save a binary file in the previous version (back to v. 8.8) for those of you who need backwards compatibility with colleagues/students who have not yet updated. To do so, hold down the Shift and Option (Mac) or Alt (Windows) Keys while choosing File>Save..
    • The choice of Kamb or 1% Area contouring has been moved to the top of the Contours tab of the Inspector palette. This was necessary to make the submenus in the Plot menu consistent. A benefit of this move is that your contouring preference is now saved when you set the Preferences for the app.
    • Printing from the File menu now correctly scales the plot for the page so that none of the symbols are distorted. Note that, although you can use File>Print to save a PDF, the File>Save as PDF will produce a higher quality graphic. The most versatile vector graphic format is File>Save as SVG, if your graphics program supports scaleable vector graphics (all web browsers support SVG and from the web browser you can usually export PDF if you need to do so). Click here to see an SVG file saved directly from Stereonet rendered in your browser.
    • Switched back to PDF help system (on the Mac) and updated the PDF user\'s manual to v. 9.5. [I never did like the Mac help system —ed.] The PDF Help manual can still be accessed from the Help Menu as long as it resides in the same directory as the program itself (and you con\'t change the name).
    • Several bugs fixed. Probably lots of new bugs introduced with the above changes. I breathlessly await your reports ;-)

    Version 9.3.3 — 2015.11.28

    • Fixed obscure crashing bug that would happen when a lines data set had no points checked.
    • PDF and SVG files now follow the specifications set in the Inspector regarding the symbol and color used for the mean vector and Bingham axes (thanks, Alex!)

    Version 9.3.2 — 2015.09.03

    • Fixed a bug that would cause a crash when you chose Edit>Copy All Data and then chose Edit>Paste Into Data Set

    Version 9.3.1 — 2015.06.03

    • Corrected a bug where small circle data would not display correctly
    • The mean vector arrow on rose diagrams is always drawn using the rose diagram color (not the data set color) set in the Inspector.

    Version 9.3.0 — 2015.05.13

    • Major improvements to the Rose diagram functionality, including:
      • Scale the petals by either length or area (new). Only length was possible before
      • Calculation of the mean direction for axial data (i.e., data with no directional significance). this is sometimes referred to as Krumbein\'s (1939) mean
      • Half circle rose diagrams always show Krumbein\'s mean; full circle diagrams can either depict vector azimuths or, if \'treat data as axes\' is checked in the Inspector, the full circle diagrams will be symmetric (this has been a highly requested feature that I\'ve resisted until now!)
      • Addition of a Von Mises Distribution option to the Calculations menu which displays the same 2D azimuthal statistics as the Rose diagram displays. The program now calculates the circular variance, kappa, and 1 sigma standard error for azimuthal data.
    • Plots wil polar grids can now be saved as .pdf and .svg files
    • Fixed a bug that occurred when planes were being entered in \'DD\' format and the data details window was opened.

    Version 9.2.3 — 2015.02.16

    • Corrected a bug that where the equator of the stereonet grid (EW line) would not be drawn in pdf and svg files if the grid was set to 10°.

    Version 9.2.2 — 2015.01.31

    • Corrected a bug that would cause Stereonet to crash if a data set required more than 100 contour levels (Thanks to Al L.)

    Version 9.2.1 — 2015.01.18

    • Corrected a bug in reading the notes fields when importing a \'Lines & Planes\' text file
    • Corrected a bug in saving data that were imported using \'Lines & Planes\' (Thanks to Gordon W. For helping me track this down)

    Version 9.2.0 — 2014.08.18

    • View>Hide Unchecked Values removes the unchecked values in the data listbox from view.
    • The Search Window remembers your last search and automatically selects the same box.
    • File>Save Plot as PICT/EMF has been disabled (again) because of a still unfixed bug in the compiler I use. The only workaround is to use PDF or SVG format output (these are higher quality that PICT/EMF, anyway..)
    • Bug fixes..

    Version 9.1.1 — 2014.07.19

    • Data>Batch Annotate now has a Find and Replace panel so you can you can batch replace any text in the Notes field for multiple observations
    • Rose diagrams now show the number of observations. Also cosmetic changes to rose diagram
    • Stereonet now remembers selected search criteria between searches
    • Corrected a bug that occurred when pasting data into a data set where the copied data had return characters in the notes field (those are now replaced with semicolons)
    • Fixed a rare crashing bug when changing the contour interval in the Inspector (e.g., completely erasing the old interval value before entering a new value)

    Version 9.1.0 — 2014.05.29

    • New Data>Batch Annotate command for adding the same annotation to the Notes field of multiple observations all at once
    • Text file and clipboard parsing dialog now allows one to add multiple columns to the Notes field by adding comma or space separated column numbers to the new combo box for the notes field. Each column added to the notes field is put on a separate line of the notes field.
    • The Search dialog now permits you to add the found matches to the existing checked data so you can sequentially add two subsets together.
    • Stereonet now correctly reads numbers entered in non-U.S. formats. It will use the number format specified in the user\'s system preferences.
    • A minor crashing bug — when the user tried to quit the program when there were no open windows — has been fixed
    • Fixed a bug in reading the old Stereonet v. 6 rake format text files (\'RK\')
    • Fixed cosmetic issues with reading in the text record from a stereonet binary file.

    Version 9.0.6 — 2014.04.18

    • A few bugs associated with deleting data sets squashed (hopefully).
    • Stereonet now checks the screen size and forces the window to be smaller than the maximum screen size, even if a larger window size has been saved with preferences

    Version 9.0.4 — 2014.03.18

    • The Parse Clipboard text dialog no longer appears when Using Edit>Copy All Data and then Edit>Paste into Data Set to move data from one data set to another within the program
    • In the Data Details window, up-down arrows have been added next to the datum number text box, allowing one to step easily through a data set, one datum at a time.
    • A bug changing scale in the extended KML export dialog box has been fixed with other minor cosmetic fixes as well.
    • The ability to import Stereonet v. 6 files in the old \'PQ\' format (lines in quadrant format, e.g., 45 N 27 W) has been restored.

    Version 9.0.3 — 2014.02.11

    • Several small cosmetic bugs related to deleting a data set while contouring is turned on have been quashed.
    • Choosing Data>Enter with Mouse will display a small notification in the upper right hand corner of the Plot canvas. This notification also includes a reminder about what key to press when clicking the mouse to get lines or planes. This notification is NOT saved with the plot.
    • The angle between two clicked points window now displays the line and, if you are working on the second line, the angle between lines as you drag the mouse around. This is particularly useful in conjunction with Enter data with mouse: you can, for example, click one point along a great circle then click and drag the mouse the exact angular distance along the great circle and when you release the mouse, if you are holding the shift key down, the program will plot the second point the specified distance from the first.

    Version 9.0.1 — 2014.02.06; 9.0.2 — 2014.03.05

    • Corrected a bug that would cause Stereonet to crash under certain contouring conditions. Thanks to Mario Sánchez Gómez for help tracking down the bug.
    • Corrected a bug reading the Preferences file in versions 8.9.5 and higher. Stereonet 9.0.2 will write a brand new preferences file called \'Stereonet9Prefs.txt\' to the appropriate location the first time you run it. If you have made changes to the default Preferences, you will need to set them again and save them via the preferences dialog. Thanks to Myra Keep for helping to track this one down.

    Version 9.0.0— 2014.01.28

    • Added two new color contouring options to choose from
    • Corrected numerous cosmetic bugs that reared their ugly heads when a contoured diagram had the size of the stereonet changed.
    • Contouring now works correctly when the view direction is changed from the default

    Version 8.9.5, 8.9.6— 2014.01.24

    • Happy New Year update — only one new feature but it is a big one..
    • Contour Fill! Contours can now be filled with either a monochrome or a rainbow set of colors and plotted with or without contour lines. The contour fill can be made partially transparent and multiple datasets can be plotted on the same diagram. You can still plot just contour lines.
    • some menu items have been disabled at start up if there are no data sets entered as selecting them in that condition could cause a crash.
    • copyright updated to 2014 :-)
    • v. 8.9.6 corrects some screen refresh issues related to the new functionality

    Version 8.9.2— 2013.11.24

    • Added a new planes format: “DR” which allows one to specify planes as Dip Azimuth and dip (e.g., 242/56) in addition to the already existing “DD” format (e.g., 56/242)
    • If you specify either DD or DR formats, the Data Details window will now show your planes orientations in those formats rather than in Strike and Dip.
    • Added a checkbox to the Inspector to specify a polar grid using either equal area or equal angle (without changing the view direction)
    • Fixed a bug that caused crashes when using two planes calculations.
    • Fixed a bug that caused the “Set Stereonet Radius” (under the View Menu) to work incorrectly.
    • The trend and plunge display in the plot pane was not showing the correct values when the view plunge was not vertical; this has been fixed
    • Disabled the Save Plot as PICT/EMF command as several functions that were used have been deprecated and cause crashes on modern systems. It may or may not be reinstated in the future..

    Version 8.9.1— 2013.11.14

    Choices of leaders are less puzzling here than in later installments, perhaps, but it must have been a programmer\'s sick joke to make Mahatma Gandhi a bullying warmonger.Civilization has some interesting world creation settings, which I strongly suggest you use, because the Earth map for it is absolutely terrible (crowded, poorly scaled, and god help you if you picked the English, who are stuck on an island).Civilization is bright and colorful and is a fairly casual play compared to later installments. The biggest strategic factor is Civilization\'s signature “Wonders of the World” improvement; these unique city projects are as numerous as they are expensive, so building them all yourself is next to impossible on any reasonable challenge difficulty.One of the notable aspects of Civilization was the rather motley and incongruous crew of historical figures used to represent each faction. Download nuclear throne update 98 free for mac pc. This gives you a bit of flexibility in your strategy, though there\'s only a limited amount of optimization—it\'s not rock-paper-scissors; units progress with each era in a straight-forward manner—it\'s more about when you get one of one type over one of the other. One can easily get an entire game in over the course of one late night or a lazy weekend.Review By P. You\'re presented with opportunities for peace and trade or war and conquest.Advances are less linear than RTS games and improvements are permanent unlike, say, Age of Empires, where you play multiple scenarios with your civilization and start essentially from scratch each time.

    • Stereonet’s help file is now accessible from the new Help menu
    • The Mac version of Stereonet is now code-signed with my own developer certificate from Apple which means that the first time you run it, you no longer have to go through the process of right-clicking on it as described in the text in the upper left of this page.

    Version 8.9.0— 2013.10.21

    • You can now import old Stereonet v. 6 format files that used the QD format (e.g., N 60 W 45 N). Stereonet does not save data in this format, but this should help people with legacy files
    • The zoom slider for the Google satellite view in the data details window has now been moved to one side, allowing Windows users to see it, perhaps for the first time! Windows users still do not see the strike and dip (or trend and plunge symbol) that is seen on Mac versions of the program. Sorry..
    • You can click the label for the elevation field in the data details window to retrieve the elevation of the datum from the MapQuest elevation server and will overwrite whatever is already in the elevation field. Any previous values are written to the Notes text area of the Data details window.

    Version 8.8.9 — 2013.08.28

    • Kml symbols can now be output as 2D symbols, which of course, are only useful if you are looking straight down in Google Earth
    • More bug fixes

    Version 8.8.8 — 2013.08.06

    • More bugs related to reading old Stereonet v. 6 format files corrected. Other bugs also squashed.

    Version 8.8.7 — 2013.07.27

    • Corrects a bug reading a data file in AD format using commas as delimiters where the quadrant was given as two letters (e.g., \'SE\') rather than just one (\'S').
    • Corrects a bug that would cause a crash when reading more than one Stereonet v. 6 format data files.

    Version 8.8.6 — 2013.07.04

    • Added a horizontal splitter between the data sets and the data list boxes on the right hand side of the Window so that you can resize their heights
    • Fixed a bug that occurred when deleting a data set
    • Fixed a bug where lines entered as rakes could not be selected by clicking on them in the stereonet
    • Cleaned up some of the code which could, of course, introduce interesting new bugs!

    Version 8.8.5 — 2013.06.25, rev. 2013.06.27

    • cosmetic glitch with the Windows splash screen fixed -- not worth changing the version number so download it again if you downloaded in the last few days.
    • A recently introduced version broke the import of Stereonet 6 text files. This has now been fixed
    • Stereonet now quits correctly on Windows when you close the last remaining open Window
    • Tabbing order through dialog boxes has been improved

    Version 8.8.4 — 2013.05.13

    • corrected a bug in the Edit>Paste into data set routine that was introduced by the new compiler
    • corrected a bug in the expanded KML save dialog box that you get when you hold down the shift key while choosing that option. Also added more options for using your own kml symbols.
    • Changed the splash screen

    Version 8.8.3 — 2013.05.13

    • Option-dragging on a text annotation will duplicate the annotation
    • Compiled in a new compiler with minor interface changes
    • Corrected another crashing bug related to Calculations>Poles and Calculations>Planes from Poles that occurred when no other lines (or planes) data sets were present

    Version 8.8.2 — 2013.05.13

    • Corrects a crashing bug in Calculations>Poles and Calculations>Planes from Poles that was introduced in v. 8.7.5. If you have downloaded v. 8.7.5 or 8.8.1 please replace them with this version.

    Version 8.8.1 — 2013.05.30

    • Text annotations — Select Edit>Annotate Plot, click on the plot where you want the text to begin, enter your text and specify color and size if you want and your done. You can reposition existing text annotations simply by clicking and dragging then in the plot pane. Handles occur on either side of the annotation during the drag operation. Viewing annotations can be toggled on or off with Plot>Text Annotations, and annotations can be deleted with Edit>Delete All Annotations. Annotations can be up to 64 characters long. When you right- or control-click on an annotation, you will get a contextual menu which will allow you to edit or delete just that annotation.
    • New binary file format — the addition of text annotations has required a new binary file format. Stereonet 8.8 can read all older binary files; older versions will NOT be able to read Stereonet 8.8 binary files. Sorry…
    • Menu options pertaining to particular types of data sets are only enabled if that type of data actually exists. For example, if there are no Lines data sets, Plot>Lines will be grayed out and you will not be able to select it.
    • The usual bug fixes..

    Version 8.7.5 — 2013.05.16

    • Drag to reorder the data sets in the Data Sets list box (upper right corner)
    • Improvements to text parsing (via files or the clipboard) so that Stereonet will work better with files generated by GeoID iPhone app
    • You can now copy complete data sets to a new or different document by selecting the dataset in the first document, choosing Edit>copy all data then pasting it into the second document with Edit>Paste into data set
    • Fixed bug in parsing comma separated values.

    Version 8.7.0 — 2013.05.01

    • Half circle rose diagrams now work. Use the checkbox in the Analysis tab of the Inspector
    • New menu option to clear the plot: Plot>Clear Plot
    • Cosmetic improvement to drawing 2° grids
    • Fixed some glitches writing the Rose diagram results to the text analysis area.

    Version 8.6.6 — 2013.04.11

    • Two planes calculations — line of intersection, acute and obtuse bisectors, and angle between planes
    • Convert to Lower hemisphere — new command to force all data to be in the lower hemisphere. To protect you from yourself, this command creates a new data set rather than overwriting the old one
    • You can now see the data for an unchecked, but selected, data set.
    • Several graphical glitches concerning the plotting of mean vectors have been fixed
    • Rose diagrams are only plotted when the traditional view direction is used (looking straight down on the lower hemisphere)
    • The four add data sets buttons (\'+L\', \'+P\', etc.) were getting out of hand so they have been replaced with a single drop-down menu.
    • v. 8.6.6 corrects a minor bug in the convert to lower hemisphere routine that was introduced in the short lived v. 8.6.5

    Version 8.6.0 — 2013.03.24

    • Lasso selection now works (but only for lines). You can have it select either those points inside or outside the lasso.
    • New data type: Arcs. Arcs are segments of great circles that are drawn between a starting point and an ending point that you define by entering the trends and plunges of the corresponding lines. Arcs can cross the primitive and you can choose whether to plot the acute or obtuse angle. You can also specify that the program should draw and arrow head at either the start or the end of the arc (or both)
    • Redesign of the Data Sets tab of the Inspector. Now you only see data pertinent to the selected data set. You can select the data set from the popup menu in the Inspector or by clicking on it in the Data sets list box.
    • Fixed (hopefully) a bug with copy and paste on Windows version of the program

    Version 8.5.1, 8.5.2 — 2013.03.06

    • Stereonet is now \'document based\' meaning that you can open as many different windows with different plots in them as you want.
    • When you start up the program, the About box is now displayed; you should select either the new blank file button or the open file if you want to open a Stereonet binary file. At any time, you can choose File>New and a new blank window will appear; likewise, file>open allows you to open another file while leaving the first one open as well.
    • You can now copy and paste data! Select some rows in one data set and paste them to a different data set in the same window or to a a dataset in a completely different window. You can also copy any tab delimited data from any text file (Including an Excel spreadsheet).
    • if stereonet doesn\'t recognize the format of data on the Clipboard, it will present you with a dialog box so you can tell it how to parse the clipboard data. Use Edit>Copy all data to include the data that only shows up in the Data Details Window. To paste into an existing data set, you have to use Edit>Paste into Data Set.
    • KML export of geographically registered 3D strike and dip and lineation symbols for plotting in Google Earth (thanks to Tom Blenkinsop and Nestor Cardozo for the idea). Click here for an example. If you use this option, please reference Blenkinsop, T.G., 2012. Visualizing structural geology: From Excel to Google Earth. Computers & Geosciences 45, 52–56.
    • Bug fixes related to not saving the conical best fit with the plot

    Version 8.0.4 — 2013.02.14

    • Data entry by mouse was broken and is now fixed
    • Conical best fit now uses the approach outlined in Mulchrone et al. (2013) so that it now works more reliably in the lower hemisphere [oops, not exactly, I\'m still working on this.]
    • Other bug fixes and improvements

    Version 8.0.2 — 2013.01.24

    • Fixed various issues related to rake format (\'RK\') and rake preferences selection, including a rotation bug
    • Fixed window rewriting problems when setting the stereonet size from View>Set Stereonet Size.
    • Details window now has a \'2x\' checkbox that will enable you to double the size of the satellite image/map

    Version 8.0.1 — 2012.11.23 (counter reset)

    • Corrected a crashing bug in the Analysis tab of the Inspector when only planes were entered
    • Added a character count to the Notes field in the Details Window so you can tell when you are getting close to the 512 character limit for that field. Character count turns red when you exceed 512 characters

    Version 8.0.0 — 2012.10.22

    • Major feature: Plotting lines or planes on Google satellite (shown above), terrain, or roadmap imagery by choosing Window>Data Details
    • New native data (binary) format now includes location information plus free form notes field where you can write anything about a datum in 512 characters or less. Stereonet 8 can read Stereonet 7 binary files (but not vice versa…)
    • Ability to parse any column oriented text file — particularly useful for entering location data.
    • Search across single or multiple data sets based on orientation, location or date info, or any text fragment from the free form notes field.
    • Axial plane finder in Calculations menu provides basic fold geometry analysis.
    • Return of the conical best fit routine.
    • Angle between clicked points now shows trend and plunge while clicking.
    • Fixed a bug in adding new data to existing data sets.
    • Unresolved issue: The Windows version draws the Google image on top of the orientation symbol and the scale slider. You can still scale the image with the scroll wheel of the mouse.

    Version 7.3.6 — 2012.09.23

    • The Mac OS X version of the program is now a native Cocoa app with a more modern interface rather than the Carbon app as previously.
    • Corrected a bug in the angle between two planes routine
    • Corrected a bug introduced in previous version related to saving a new default window size from preferences
    • Disclosure triangle/arrows now behave in a more \'standard\' manner

    Version 7.3.5 — 2012.09.18

    • Scans can now be repositioned by dragging them within the plot window by selecting Edit>Drag Image
    • Return of the Apparent Dip Calculator! You can use lines or a plane selected in an existing data set, or you can enter new values directly into the dialog box. The results can be written to an existing data file or a new data file for plotting. The Apparent Dip Calculator is a floating window that you can keep open if you have a lot of calculations to do.
    • Default height of the main window has been reduced to 640 pixels to accommodate users who prefer to keep their screen resolutions at low values (e.g., to increase the size of text on their screens). This will hopefully avoid the artifact that cause the text box to overwrite the bottom of the plot area. You can still resize the window to larger sizes once the program has been opened.
    • To compensate for the smaller initial main window size, a a new check box in the Preferences dialog, \'Set current window size to default\', will allow you to have set the initial size of the window to whatever you what.
    • Removed Plot Planes as Poles option. It was confusing too many people, particularly when they couldn\'t do a cylindrical best fit. Now, if you have entered planes and want to plot poles, you will have to choose Calculations>Poles first (which was the original behavior of the old Stereonet. If it turns out that LOTS of people loved plotting planes as poles without calculating poles first, I\'ll consider reinstating it.


    Version 7.3.0

    • New Feature — import scans of existing stereonet plots, and overlay beneath the live stereonet in the program. You can use this to compare your data to published data or, in combination with Data>Enter with Mouse, you can extract digital values from published stereonets. Scans can be imported as pdf, tiff, png, or jpeg formats. New Plot menu option allows you to show or hide a scan.
    • New Feature — SVG (scalable vector graphics) output option for your plots. .svg is an open, high resolution graphics format that can be read by most modern graphics programs. Unlike other graphics output options in Stereonet, .svg saves small and great circles as open polygons rather than separate line segments for ease in touching up plots in graphics programs. Both .svg and .pdf options are higher resolution than the emf/pict format.
    • Bug fixes related to window display.


    Version 7.2.4 — 2012.02.21

    • Mac version of Stereonet 7 posted for those who need a Carbon program that works on Mac OS X operating systems older than 10.6 or for those who need compatibility with the Stereonet 7 for Windows binary file format. For Mac users who have Mac OS X 10.6 or higher installed, I still recommend OSXStereonet. Also posted the Linux version of the program as I have had a few requests for one of those.
    • Corrected bugs related to deleting a data set or an individual datum from a data set
    • Fixed the default setting for Bingham axes to plot all three axes plus the great circle. (The program was defaulting to plotting only the largest principal axis)
    • Deactivated the maximize button in the main window as it was not stretching the window elements correctly. You can still resize the window to whatever you want by dragging the edge/corner of the window.
    • When no data sets are selected in the data sets listbox, no data will be displayed in the data listbox.
    • Added several informational dialogs:
      • If a user tries to delete a data set, they are warned that it is undoable and they have the option of canceling
      • If a user tries to do a cylindrical best fit when only planes have been entered they are now advised that they must calculate the poles first as cylindrical best fit only works on lines data sets. Users have been confused because of the option to plot planes as poles.
      • If a user tries to rotate a \'selected\' data set but no data set is selected in the data sets list box.

    Version 7.2.3 — 2012.01.11

    • Now uses GDI+ for anti-aliased (i.e., smoother) drawing to the screen.
    • Copyright updated to 2012 :-)

    Version 7.2.1 — 2011.11.18

    • Variable rotation by unfolding beds. Choose a lines or planes data set, then select the data set that contains bedding where the observations were made, and click Okay. each datum will be unfolded by rotating the corresponding bedding back to horizontal.
    • Rose diagrams for planes: If the planes format is \'AD\' or AZ\' the rose diagram will be based on the strikes of the planes; if the format is \'DD\' the rose diagram will be based on the dip azimuth rather than the strike azimuth.

    Version 7.2.0 — 2011.11.07

    • Major new feature: enter data with mouse by clicking and dragging inside the stereonet.
    • Fixed bug where window not resized correctly when reading in a binary file
    • Fixed bug where program tried to draw error cone even when normalized mean vector length was <0.65

    Version 7.1.6 & 7.1.7 — 2011.10.26

    • Planes can now be drawn as either solid or dashed lines
    • If only rose diagrams are showing, the equal area angle grid is not displayed. Instead equally spaced concentric circles, at either 5 or 10 percentage intervals, and spokes at 10° intervals are drawn and labeled as a scale for the rose diagram. This happens automatically and only when rose diagrams and nothing else are displayed. The value at the primitive is controlled by the entry in the Inspector Analysis tab.
    • The outer edge of rose petals are now drawn as an arc rather than as a single straight line segment, which is much more attractive!
    • Plot mean vector on rose diagrams has been enabled
    • Fixed some interface bugs related to showing or hiding the data panels
    • Significantly speeded up selecting tabs in the Inspector -- Yay!

    Version 7.1.5 — 2011.10.07

    • You can now hide the data set list and data list panes by toggling a disclosure triangle or from the Windows Menu. This makes the overall window narrower, which might be of help for people on small screens or if, for some reason, you want to hide the data.
    • Various optimizations to improve performance selecting from the Data set list. The Inspector also appears more rapidly, though selecting tabs remains sluggish (sorry…) FIXED in v. 7.1.7
    • Fixed a bug where reading in a binary file that was saved with a view plunge of 90 degrees would be read in with a view plunge that wasn’t exactly 90 degrees
    • Fixed a bug associated with calculating poles from planes and planes from poles
    • Planes can now be visualized as great circles and poles simultaneously

    Version 7.1.2 — 2011.09.13

    • Cylindrical best fit now draws the best fitting plane and writes its orientation to the Analysis text pane
    • When you add a new data set, the appropriate plot type is automatically selected so you see your data plotted as you enter it. E.g., if you select new lines, Scatter will be turned on in the Plot Menu, etc.
    • Preferences dialog box has been added to allow the user to set their preferred default data format and stereonet format settings.

    Version 7.1.1 — 2011.08.30

    • Fixed a bug in the Dip, Dip Azimuth (DD) format for planes. Previous versions did not handle this format correctly
    • Added uncertainty calculations to the cylindrical best fit/Bingham statistics
    • Disabled pop up menu for planes style in Inspector because those options have not yet been implemented -- FIXED in 7.1.7
    • minor bug fixes

    Version 7.1.0 — 2011.08.21

    • Drawing contour lines has now been implemented. You can now do either Kamb or 1% area contouring by selecting one of those options in the Contour submenu of the Plot Menu.
    • Contour lines are saved to PDF files and EMF files, they will print, and they are copied to the clipboard with the rest of the plot
    • Contours do not yet have a fill pattern. Those options have been turned off in the Contour tab of the Inspector
    • Lots of little bug fixes.

    Version 7.0.4 — 2011.08.18

    • Yet another new binary data format. Previous files will not read in correctly, so I hope that you have been exporting your data as text files!
    • Stereonet can now handle input data of lines as rakes (pitches) on planes. To enter a new line-on-plane data set via rakes, hold down the shift key while clicking on the +L button. This will cause both a new lines and a new planes data set to be entered. These data sets should have the same name. The two letter format code for such data sets is “RK”.
    • The format code in the Data set list box has been changed to a two or three letter code, identical to that shown in the table in earlier in the users manual and as used by earlier versions of Stereonet.
    • Changing the format code in the Data set list box will now change the format of the data listing.

    Version 7.0.3 — 2011.08.17

    • New binary file format. It will read the old format with only minor glitches in the analysis text. Nonetheless, you should re-save all of your binary files.
    • Interface for contouring has been put in place (e.g., the Inspector now has a Contours tab) but contouring itself still does not work.

    Version 7.0.2 — 2011.08.16

    • minor bug fixes and behavior changes
    • more predictable Inspector behavior

    Version 7.0.1— 2011.08.15 -- Initial beta release!

    • Things that are known not to work in this release (some may never be fixed…):
    • [Contouring has not yet been implemented] -- FIXED, mostly in v. 7.1.0
    • Set view direction does not work with latitude-longitude plots. This means that you are effectively limited to viewing continents in the Western Hemisphere
    • Conical best fit has not yet been implemented
    • [Adding lines by their rake in a plane has not yet been programmed] -- FIXED in v. 7.0.3
    • There is no way (yet) to combine data files, either by appending them to existing data sets or by or by copying and pasting between data sets
    • Plotting small circle in the upper hemisphere is broken
    • Variable rotation (e.g., by unfolding lines associated with bedding) has not yet been implemented
    • Half circle rose diagrams and plotting mean directions for rose diagrams have not yet been implemented
    • Refreshing the data listing does not always work. You may have to click on the data set again to refresh the data listing -- FIXED
    • There is no way to control the format of the data listing at present -- FIXED in v. 7.0.3
    • There is currently no way to parse an unidentified text file that does not start with the standard two character header from earlier versions of Stereonet.

    When a view is printed, there are several options for how it is placed on the page. If the view is larger than a single page, the view can be clipped, resized, or tiled across multiple pages. The view’s location on each page can be adjusted. Finally, the view can add adornments to each page. The following sections describe the options available for placing the view onto a page.

    Selecting the Page Bounds for Content That Exceed a Single Page

    When a view is too large to fit onto a single page, the view can be printed in one of several ways. The view can tile itself out onto separate logical pages so that its entire visible region is printed. Alternatively, the view can clip itself and print only the area that fits on the first page. Finally, the view can resize itself to fit onto a single page. These options can be set using the NSPrintInfo object’s setHorizontalPagination: and setVerticalPagination: methods with the constants NSClipPagination, NSFitPagination, and NSAutoPagination. The separate methods for horizontal and vertical pagination allow you to mix these behaviors. For example, you can clip the image in one dimension, but tile it in the other. If these options are not sufficient, the view can also implement its own pagination scheme. The following sections describe each option.

    Custom Pagination

    To provide a completely custom pagination scheme that does not use the built-in pagination support of the NSView class, a view needs to implement only two simple methods and set

    1. Set up the pagination mode (NSPrintingPaginationMode) using the the appropriate method of NSPrintInfo (setHorizontalPagination: or setVerticalPagination:

    2. Override the knowsPageRange: method so it returns YES to indicate the custom view will collocate the dimension of each page.

    3. Implement the rectForPage: method so it uses the page page number and the current printing information to calculate an appropriate rectangle in the view’s coordinate system. The printing system sends a rectForPage: message to your app before each page is printed, base on the range of pages the user selects in the Print panel. Note that the vertical and horizontal pagination settings in the NSPrintInfo object are ignored (unless your implementation takes them into account).

    Listing 4-1 shows a simple implementation that splits a view vertically into pages that have the maximum size. The code does not show setting the pagination mode, which you must do.

    Listing 4-1 Code that splits the view vertically into pages

    Adding Page Numbers, Crop Marks, and Date-Time Strings to the Page

    When you perform custom pagination, you can override the drawPageBorderWithSize: method to add extra features to the page, such as crop marks, date/time strings, or page numbers. When you override drawPageBorderWithSize::

    1. Save the view’s existing body frame—you will need to restore it at the end of the method.

    2. Resize the body frame to a rect with origin (0,0) and a size equal to the incoming borderSize parameter.

      This new frame now encompasses the margins instead of hiding them.

    3. Add your custom border elements to all four margin areas (top, bottom, left, and right).

      You typically use the drawAtPoint: method for drawing. Any set of drawing calls must be preceded by lockFocus: and followed by unlockFocus:, otherwise drawPageBorderWithSize: will not draw anything to the page for those calls.

      Use the paper and margin dimensions from the print info object to constrain the printable area and prevent drawPageBorderWithSize: from printing within the body text frame. If you want to print within the body text frame—to print a watermark, for example—do so by printing directly in the newly enlarged frame and ignoring the margin constraints.

    4. Reset the frame to the body text area before exiting the method.

      This assures the next page of content will print only within the paginated portion of the view.

    Tiling Content Across Pages

    If the view does not supply its own pagination information and one of the print info object’s pagination settings is NSAutoPagination, NSView tries to fit as much of the view being printed onto a logical page, slicing the view into the largest possible chunks along the given direction (horizontal or vertical). This is sufficient for many views, but if a view’s image must be divided only at certain places—between lines of text or cells in a table, for example—the view can adjust the automatic mechanism to accommodate this by reducing the height or width of each page.

    Before printing begins, the view calculates the positions of all the row and column page breaks and gives you an opportunity to adjust them. The adjustPageHeightNew:top:bottom:limit: method provides an out parameter for the new bottom coordinate of the page, followed by the proposed top and bottom. An additional parameter limits the height of the page; the bottom can’t be moved above it. The adjustPageWidthNew:left:right:limit: method works in the same way to allow the view to adjust the width of a page. The limits are calculated as a percentage of the proposed page’s height or width. Your view subclass can also customize this percentage by overriding the methods heightAdjustLimit and widthAdjustLimit to return the fraction of the page that can be adjusted; a value of zero indicates that no adjustments are allowed whereas a value of one indicates that the right or bottom edge of the page bounds can be adjusted all the way to the left or top edge.

    Clipping Content to the Page

    If one of the print info object’s pagination values is NSClipPagination, the view is clipped to a single page along that dimension. If the horizontal pagination is set to clipped, the left most section of the view is printed, clipped to the width of a single page. If the vertical pagination is set to clipped, the top most section of the view is printed, clipped to the height of a single page.

    Fitting Content to the Page

    If the print info object’s pagination setting is NSFitPagination, the image is resized to fit onto the page. Although vertical and horizontal pagination need not be the same, if either dimension is scaled, the other dimension is scaled by the same amount to avoid distorting the image. If both dimensions are scaled, the scaling factor that produces the smaller image is used, thereby avoiding both distortion and clipping. Note that print info object’s scaling factor (NSPrintScalingFactor), which the user sets in the Page Layout panel, is independent of the scaling that’s imposed by pagination and is applied after the pagination scaling.

    Positioning Content on the Logical Page

    The NSView method locationOfPrintRect: places content according to several print info attributes. By default it places the image in the upper left corner of the page, but if the print info object’s isHorizontallyCentered or isVerticallyCentered methods return YES, it centers a single-page image along the appropriate axis. A multiple-page document, however, is always placed at the top left corner of the page so that the divided pieces can be assembled at their edges.

    Override this method to position the image yourself. The point returned by locationOfPrintRect: is relative to the bottom-left corner of the paper in page coordinates. You need to include the page margins when calculating the position.

    After the NSView position the rectangle on the page, it invokes drawPageBorderWithSize:. If you haven’t implemented this method, nothing happens. If you have implemented drawPageBorderWithSize:, any extra marks—crop marks, page numbers, and so on—you draw in this method are added to the page. The drawPageBorderWithSize: method is invoked by the printing system once for each page.

    See Custom Pagination for more information on using drawPageBorderWithSize:.



    Copyright © 2002, 2012 Apple Inc. All Rights Reserved. Terms of Use Privacy Policy Updated: 2012-12-20

    ...'>Accurately Calculating Text Height In Cocoa For Mac(02.04.2020)
  • Building Cocoa Applications: A Step-by-Step. Four-function calculation application that\'s similar to the calculator that comes with Mac OS X MathPaper (Part III) An application that is similar to a word processor but that. People who lack the dexterity or the vision required to accurately use a mouse can still benefit from the Mac OS.

    Stereonet 11 is a huge release with a completely new and robust internal data structure and an openGL 3D view of the lower hemisphere for teaching purposes. It includes almost all of the goodness of Stereonet 10 and lots of subtle new tweaks as well (check out the detialed version history, below). This version of Stereonet is compatible with all modern operating systems and has a modern user interface which has been modeled after OSXStereonet for Mac by Nestor Cardozo and me. It can read and write older Stereonet text files, can read the Stereonet 11 binary files, but saves its data in a new binary format.

    For those hardy souls using Linux, you too can download a copy of Stereonet 11, though I have never seen it run on a Linux box and don\'t know if there are any compatibility issues!

    For long term viability of your data, however, you should still export any work as text files which will always be readable by a large number of programs.

    A comprehensive manual is included with the zip archive. For Mac Users still on Mac OS X 10.5 and lower (Leopard, Tiger, etc.), you can download a Carbon version of Stereonet. Note that this version will not be kept up to date with the above Cocoa version.

    Version History

    Versions 11.0.2, 11.0.3 — 2020.05.14

    • New, modern, internal data structure
    • 3D view can be grabbed and rotated with the mouse to help students visualize the lower hemisphere. With the mouse scroll wheel, you can even fly through the model! 3D view colors and plot elements are user configurable
    • Drag data sets to change the order of plotting of individual data sets.
    • New menu commands: Data➤Merge With and Data➤New Dataset from Selection
    • Label individual observations (in addition to text annotations)
    • Revamped axial plane finder (no more acute and obtuse angle confusion!)
    • Change data formats with new dropdown menu in the Datasets Listbox
    • Open Recent submenu in the File Menu gives you rapid access to the last ten files you have opened.
    • UNDO (finally!)!! You can now use Edit➤Undo Delete if you change your mind about having deleted a dataset or a group of individual data points. You can only undo the most recent deletion and Undo does not work on plot changes (because you can already undo those by changing your Plot Menu selections) or operations (because Operations now always create new datasets rather than replacing existing data sets).
    • Inspector Palette now opens automatically to the Datasets Tab and selected dataset if there is a selected dataset. Otherwise it opens to the Stereonet Tab.
    • Option to dynamically change point size with changes in window size.
    • Option to use Aki-Richards format for lines on planes (i.e., rake)
    • Completely rewritten users manual (which I’m sure you’ll want to read carefully ;-)
    • Things that are different/missing with respect to Stereonet 10:
      • .SVG output is not currently available in v. 11. The PDF output is now very robust and can be used in all cases where you would have used SVG. If you want SVG let me know so I can gauge the interest in its return to v. 11.
      • Lines in Latitude-longitude format for plotting continent outlines on the upper hemisphere. My impression is that this feature was almost never used. If you would like to see it return, let me know
      • Printing. Due to a bug in the compiler that I use, printing is currently disabled. As soon as the compiler is fixed, printing will be enabled.

    Versions 10.4.6 — 2020.03.19

    • Fixes an issue where text annotations would lose their place and be misplotted after saving and reopening a file.
    • Some file icon issues fixed.
    • Crashes should be somewhat more graceful though no promises!

    Versions 10.4.5 — 2020.02.25

    • Fixes a recently introduced bug where the Details Tab was blank when the user imported a text file from Stereonet Mobile.

    Versions 10.4.4 — 2020.01.31

    • You can now plot small circles in the upper (or lower hemisphere)
    • Updated about box to a 2020 date!

    Versions 10.4.2 — 2019.10.08 (PDFs & the clipboard finally work right release ;-)

    • The mac version now comes as an installer package that is notarized by Apple for all of you Catalina early adopters!
    • The help file PDF is now incorporated into the application package. No more separate PDF files. Unless you remove the help pdf from the resources folder, it should always be available.
    • Fixed a bug where the Parse Text File dialog displayed white text on a white background when in dark mode
    • Fixed a bug with autonumbering batch annotations
    • When importing a text file in the older stereonet format (a one line header with a two character code), any lines after the one line header that start with “#” will be ignored.

    Versions 10.4.0, 10.4.1 — 2019.10.01 (PDFs & the clipboard finally work right release ;-)

    • New robust PDF engine. Saved PDF files are vastly improved. Great and small circles are now polygons rather than unconnected line segments.
    • When the stereonet pane has the focus (blue focus ring), you can copy the graphic as a PDF in memory. Most Mac and many Windows graphics and word processing apps will recognize and paste the PDF at its original vector resolution. When saved to the clipboard the PDF is cropped to the size of the graphic on the screen
    • Fixed incorrect plotting of small circles when the view direction is not the default.
    • Other bug fixes. (v. 10.4.1 fixes a problem with pdf colorspaces)

    Versions 10.2.9 — 2019.04.03Wd my passport for mac not showing up.

    • Fixed a crashing bug which occurred when calling planes from poles under certain conditions (Thanks, Will)

    Versions 10.2.8 — 2019.01.28

    \'Accurately
    • Fixed a crashing bug which occurred when you opened a blank window and then tried to open a saved binary file, either by double clicking on the desktop or using File>Open.

    Versions 10.2.7 — 2019.01.21

    • Parse text file and Parse clipboard can now recognize and will try to parse latitude and longitude in degrees, minutes, seconds, hemisphere format. You can have a mixture of formats in a single column and all will be parsed in one pass.
    • Parse text file and Parse clipboard can now recognize and will try to parse dates in a single column such as \'5/22/18\'. Assign the year column to the column that has the date. Years can be either two or four digit. The parsing follows the format specified for dates in your computer’s system so that, if you are in South America and write the day first that should be recognized correctly.
    • Map Window on the Mac now displays the Longitude and latitude at the mouse location as you move the mouse over the map/satellite image.

    Versions 10.2.5 (Mac only)— 2018.11.01

    • The map window can now show all of the selected observations on a satellite image. Simply select the observations that you want to see and click on the map tab and your map will appear automatically. [This is a Mac-only upgrade because the web browser in the Windows version does not permit graphic overlays. I don’t know of any fix for this issue, unfortunately…]

    Versions 10.2.0 — 2018.10.30

    • Fixed and improved Google Satellite imagery viewing. Now view satellite images at any size/scale. Use built in “+” and “-“ buttons to zoom. IMPORTANT NOTE: You can now drag the satellite image to view different parts of the area, however doing so will cause the displayed strike and dip symbol to become mislocated. To correct this, just press the “Re-center” button. Explanation: Google changed it’s 3rd party image use policy in summer 2018. Older versions of Stereonet used Google Map Static images which are now billed to the programmer at $0.002 per hit! This version of Stereonet now uses embedded map images which, for the time being, remain free but have less flexibility than the static images.
    • Improved (i.e., less confusing) interface for uploading data to StraboSpot
    • Updated developer credential on the Mac.
    • Implemented the Mac OS X Mojave “Dark theme”. If you select dark theme in system Preferences, then Stereonet will be fully dark theme compliant.
    • A real, honest to goodness installer for Windows versions!!! No more sloppy .dll’s hanging out all over the place :-)

    Versions 10.1.6 — 2018.08.09

    • Fixed a bug in the rose diagram plotting routine where, under certain conditions, not all of the azimuths in the first or last bin would be counted (thanks, Tobias!).

    Versions 10.1.5 — 2018.08.03

    • Batch changing/assignment of StraboSpot attributes and location/time/data metadata. With the details tab open select all of the individual measurements you want in the data listbox on the right. Any value typed into any text field (or any selection from a popup menu) will instantly be applied to all selected observations. This is a great way to apply basic StraboSpot attributes to old data sets that you might have. Be careful, though as the change is instantaneous and there is no undo! [The Notes field is still changed only using Data>Batch Annotate command]
    • With StraboSpot uploads, you can now choose to upload just the selected data set or all data sets. Use the radio buttons in the Strabo upload dialog box
    • Corrected a bug where non-unique id numbers were very occassionally used in StraboSpot uploads.
    • Additional bug fixes.

    Versions 10.1.1 — 2018.02.19

    • A recent build inadvertently turned off the high DPI awareness. That has been fixed in this version so the program should once again look nice and crisp on your retina display (thanks, Nestor!).

    Versions 10.1.0 — 2018.02.19

    • Refactored the contouring code to make contouring much faster and more efficient. There is no new functionality, but contouring will be much nicer to use because it is about 2-3x faster.
    • Search dialog box now allows you to use the StraboSpot terminology for lines and planes to help define your search.

    Versions 10.0.4, 10.0.5, 10.0.6 — 2018.01.30

    • This version corrects a non-crashing bug that occurred when you chose to smooth 1% area contours.
    • Saving binary files in older Stereonet formats (e.g., v. 9.5, v. 8.8) produced corrupted files that would cause the program to crash when trying to read those files back in. This has been fixed (thanks, Mauricio).
    • Stupid rotation bug introduced in 10.0.2 has been fixed (thanks, Matt).

    Version 10.0.3 — 2018.01.21

    • This version corrects an issue where Stereonet would crash on systems that did not previously have Stereonet on them. The program was looking for a prefs file that didn\'t exist (thanks, Emile)

    Version 10.0.2 — 2018.01.18

    • New prefs choices lets you set a default geologist\'s name and whether or not to time and date stamp data newly entered into the program via the keyboard (but not reading a text file or pasting from the clipboard.
    • Partially fixed bugs associated with entering lines as latitude and longitude. This should now work for the western hemisphere, but setting the view direction for the eastern hemisphere still does not work correctly (thanks, Nathan).
    • Calculating poles from planes would cause the program to crash if the data had been entered via the keyboard in earlier versions of v. 10. This has now been fixed (thanks, Andrew).

    Version 10.0.1 — 2018.01.14

    • Corrects a bug that would cause a crash when a text file was imported and then saved as a .stnt format binary file. This bug only affected v. 10, not previous versions. (Thanks, Dan!)

    Version 10.0.0 — 2017.12.21 (Happy Holidays!)

    • Assign StraboSpot data types: You can now assign StraboSpot terminology to your lines and planes observations. Select an individual line or plane, click on the new Details Tab, and choose the terminology from the popup menus at the bottom of the box.
    • Upload your data to your account at StraboSpot from within Stereonet: Simply choose File>Upload to StraboSpot, enter your credentials, and select the project to which you wish to save your data. You can also create a new project from within Stereonet before uploading to StraboSpot.
    • New tabbed interface. The data details window has been eliminated and it\'s functionality moved to the Details and Map tabs in the main Stereonet Window.
    • Compatability with the new Stereonet Mobile file format so you can read and write your data in that format for moving data between iPhone and desktop apps.
    • bug fixes.

    Version 9.9.6 — 2017.08.11

    • The desktop version of Stereonet (all versions) has been updated to read the latest version of Stereonet Mobile data file.

    Version 9.9.5 — 2017.03.28

    • A windows only fix to restore the text and clipboard parsing of ASCII text data.

    Version 9.9.4 — 2017.03.14

    • A new interface behavior borrowed from Stereonet Mobile: when you select Data>Enter with Mouse, the grid will rotate as you move the mouse around. For lines (hold down the Shift Key), you will see a polar grid with lines radiating outward from the center and small circles centered on the middle of the plot. This grid makes it particularly easy to visualize trend and plunge. For planes (hold down the Option/Alt Key) the entire grid rotates so that, while you are dragging the pole to the plane around the net, the great circle is always parallel to great circles on the underlying grid. This may make it easier for students to visualize how the stereonet works
    • Minor bug fixes

    Version 9.9.3 — 2017.01.24

    • Change to accommodate Stereonet Mobile file format change for notes.
    • Change copyright date
    • Bug fixes

    Version 9.9.2 — 2017.01.24

    • Support for Stereonet Mobile input and output.
    • Removed support of Windows HiDPI resolution as that may have been causing some problems for some users..
    \'Text\'

    Version 9.9.1 — 2016.12.09

    • Text glitches on the Windows platform, including dislocation of text annotations and the position of the color legend for contours, fixed.

    Version 9.9.0 — 2016.12.05

    • Now available in 64-bit versions as well as 32-bit. Because all recent Mac operating systems are 64-bit compatible, Stereonet for Mac is now only available as a 64-bit app. For the time being, Windows and Linux versions are available in both flavors but that could change relatively soon. Note that I do not have 64-bit versions of either Windows or Linux to test these on! The 64-bit versions are considerably faster than the 32-bit versions, especially where a large number of calculations are involved (e.g., contouring).

    Version 9.8.6 — 2016.11.21

    • Fixed a bug in rotating all checked data sets that occurred when the first few data sets were not checked (thanks, Andrew)
    • You can now rotate small circles and arcs data sets

    Version 9.8.5 — 2016.11.08

    • Fixed a bug when entering Lines on Planes (i.e., planes and rakes of lines) using the new data set pop down menu (thanks, Jakob)

    Version 9.8.4 — 2016.11.08

    • Fixed a bug when calculating poles from a PT-formatted lines file
    • Overturned beds can now be entered with a dip > 90 or with a dip < 0. For instance, here are two ways of specifying the same overturned bed using right hand rule: 010, -35 or 190, 145. In dip direction and dip format (DR), this same overturned bed could be entered either as 100, -35 or as 280, 145.

    Version 9.8.3 — 2016.07.28

    • The new prefs file format was causing unexpected behaviors under certain conditions. This version completely rewrites older prefs files. You will lose whatever settings you had previously made so you will have to set them again in the Inspector and the Preferences dialog. Sorry..

    Version 9.8.2 — 2016.07.24

    • Exponential contour smoothing based on Robin and Jowett (1986), only 30 years after the fact! Smoothing is optional and can be turned on or off in the contours tab of the Inspector.
    • Contour grids as dense as 80 x 80 can now be set (although 40 x 40 is fine for almost all applications, and is considerably quicker). If you want a dense contour grid, I recommend that you turn on show legend (if you want one) before specifying the dense grid to avoid some temporary graphical artifacts. In combination with the above exponential smoothing, this can result in very nice smooth contours.
    • Optimizations to speed up contouring a bit.
    • Fixed a bug in dragging a scan. Scans now stay put where you dragged them.

    Version 9.8.0 — 2016.07.15

    • A color bar legend for contour plots in Stereonet can now be drawn by selection the \'Show Legend\' checkbox in the Contours tab of the Inspector palette. This legend is saved with the plot or when printing
    • Rose diagrams now have the option to center the first bin on zero. Let\' say you have a 10° bin size; normally the first petal would be between 0 and 10°. If the \'Center bin on zero\' is checked in the rose diagram section of the Inspector the first bin would be between 355° and 5°. Especially for sparse data sets, this can produce significant changes in appearance of your rose diagram, suggesting that aggressive interpretations are unwarranted!
    • Several behind the scenes changes to the slope stability section to improve robustness of operation, especially when saving data for reanalysis at a later time
    • New binary file format is necessary to enable all of the new functionality of the last few versions to be saved in the binary file.
    • From the file menu, you can now save a binary file in the current format (v.9.8) or either of the two previous binary formats (v. 9.5, v. 8.8). This gives you backwards file format compatibility to the version of the program released more than three years ago. The keyboard shortcut (⌘S or Ctrl-S) for saving a file will automatically save the most recent binary file format.
    • When you calculate poles from planes (or vice versa), the newly created data set will be assigned the same color as the original data set
    • Prefs file updated with new functionality
    • Corrected a bug in the rose diagram routine where azimuths of exactly 360 were not being counted properly.
    • minor fixes and tweaks.

    Version 9.7.0 — 2016.07.11

    • Lines data sets can now also be plotted on a data set by data set basis using submenus in the plot menu. Likewise, the data sets submenu for rose diagrams allows you to select individual lines or planes data sets for plotting and analysis.
    • Bug fix in the search algorithm (Data>Search..) that cause a crash under certain conditions when Select opposite was selected.

    Version 9.6.2 — 2016.06.11

    • Added the option to measure slope angle limits in the plane (rather than horizontal)
    • Fixed a bug that prevented saving small circles as PDF or SVG with negative plunges (thanks, Sarah!)
    • Small tweaks in the Inspector

    Version 9.6.1 — 2016.05.26

    • Fixed an error where the uncertainty cones were not showing up when mean vector plots were saved as PDF or SVG (thanks, Luke!).

    Version 9.6.0 — 2016.05.15

    • New feature — Slope stability analysis. A stereonet plot for planar or wedge failure on rock slopes can now be accomplished by selecting Calculations>Slope Stability… This feature is explained in more detail here. Note that Stereonet is NOT a professional geotechnical engineering program and the user assumes all risk associated with the implementation of this feature!
    • New Feature — Calculate the lines of intersection for all of the checked planes in a data set (useful for wedge slope failure) by selecting Calculations>All Planes Intersections. The resulting intersection lines are placed in a new lines data set. The notes field for the lines datum will tell you which two planes produced that intersection line. Note that the number of intersection lines is N*(N-1) where N is the number of planes. If the number of checked planes is >50, Stereonet will warn you in a dialog box that the number of lines will be large and allow you to cancel the operation. If you proceed with calculating a large number of intersection lines, be prepared to wait several seconds!
    • Some crashing bugs related to contouring fixed

    Version 9.5.4 — 2016.04.26

    • Fixed yet another crashing bug that occurred when the user had the Inspector Window open and a plane selected in the Data Sets tab, created a new planes data set then clicked on the newly created data set in the Data Set Listbox (thanks, Josh)

    Version 9.5.3 — 2016.03.03

    • Fixed a crashing bug that could occur with a large number of data sets.
    • Fixed several cosmetic issues related to the appearance of mean vectors in PDF and
      SVG plots

    Version 9.5.2 — 2016.01.19

    • Fixed several crashing bugs that would occur when you opened the Inspector and clicked on the Contours tab when no data sets were entered
    • The mean vector for rose diagrams is now always drawn on top of the petals and always in black.
    • The new default for rose diagrams is \'treat data as axes\' (unless you have previously saved Preferences with that option turned off in the Inspector). [If you plot the mean vector and it doesn\'t appear to make sense, open the Analyses tab of the Inspector and make sure that \'treat data as axes\' is checked in the Rose diagram section. See Chapter 2 of my structure lab manual to understand why this happens.] With treat data as axes checked, the mean vector is calculated using Krumbein\'s mean and the von Mises Circular (azimuthal) distribution also reports Krumbein\'s mean.
    • Mean vector in half circle roses now plots correctly.

    Version 9.5.1 — 2016.01.07

    • The inevitable bug fixes after a major change: this time correcting some rogue menu checking behavior under certain conditions. Also, Plot Menu was not updating correctly after importing Stereonet v. 6 format files.
    • Mean vector calculation concentration factor (kappa) calculation has raised some concerns because Stereonet used/uses the Fisher et al. (1987, eqn. 5.26) estimation for N<16. The program now reports both the standard Fisher (1953) estimation and Fisher et al. (1987) estimations where you have fewer than 16 vectors. This should result in greater compatibility with some paleomag programs that only use the 1953 formulation, but bear in mind that some people think k = (N-1)/(N-R) provides a biased result for small N.
    • Minor rearrangement of the Plot menu
    • Cursor now remains a cross whenever the mouse is in the Stereonet plot pane.

    Version 9.5.0 — 2016.01.03 (Happy New Year!)

    • Major new feature: Plotting applied to lines — contouring, cylindrical best fit, conical best fit and mean vectors — can now be turned on or off on a per data set basis. For example, in a file with three lines data sets, you can now choose to contour only the second set, while continuing to display scatter plots of the other data sets. In the plot menu, the contouring, cylindrical best fit, continual best fit and mean vector menu choices all now have submenus where you can choose: All data sets (to turn on the, say, mean vector of all data sets), no data set (turn off plotting mean vector for all sets), and a separate menu entry to toggle on or off each individual data set depicting the same name as is shown in the Data Sets list box. The All Data Sets submenu choice functions exactly as the main menu choice in previous versions of Stereonet and has the same key command assigned to it.
    • New binary file format — to accommodate the new plotting granularity, I had to implement a new binary file format. The new version of the program can read old file formats, but old versions cannot read the new format. However, Stereonet can now save a binary file in the previous version (back to v. 8.8) for those of you who need backwards compatibility with colleagues/students who have not yet updated. To do so, hold down the Shift and Option (Mac) or Alt (Windows) Keys while choosing File>Save..
    • The choice of Kamb or 1% Area contouring has been moved to the top of the Contours tab of the Inspector palette. This was necessary to make the submenus in the Plot menu consistent. A benefit of this move is that your contouring preference is now saved when you set the Preferences for the app.
    • Printing from the File menu now correctly scales the plot for the page so that none of the symbols are distorted. Note that, although you can use File>Print to save a PDF, the File>Save as PDF will produce a higher quality graphic. The most versatile vector graphic format is File>Save as SVG, if your graphics program supports scaleable vector graphics (all web browsers support SVG and from the web browser you can usually export PDF if you need to do so). Click here to see an SVG file saved directly from Stereonet rendered in your browser.
    • Switched back to PDF help system (on the Mac) and updated the PDF user\'s manual to v. 9.5. [I never did like the Mac help system —ed.] The PDF Help manual can still be accessed from the Help Menu as long as it resides in the same directory as the program itself (and you con\'t change the name).
    • Several bugs fixed. Probably lots of new bugs introduced with the above changes. I breathlessly await your reports ;-)

    Version 9.3.3 — 2015.11.28

    • Fixed obscure crashing bug that would happen when a lines data set had no points checked.
    • PDF and SVG files now follow the specifications set in the Inspector regarding the symbol and color used for the mean vector and Bingham axes (thanks, Alex!)

    Version 9.3.2 — 2015.09.03

    • Fixed a bug that would cause a crash when you chose Edit>Copy All Data and then chose Edit>Paste Into Data Set

    Version 9.3.1 — 2015.06.03

    • Corrected a bug where small circle data would not display correctly
    • The mean vector arrow on rose diagrams is always drawn using the rose diagram color (not the data set color) set in the Inspector.

    Version 9.3.0 — 2015.05.13

    • Major improvements to the Rose diagram functionality, including:
      • Scale the petals by either length or area (new). Only length was possible before
      • Calculation of the mean direction for axial data (i.e., data with no directional significance). this is sometimes referred to as Krumbein\'s (1939) mean
      • Half circle rose diagrams always show Krumbein\'s mean; full circle diagrams can either depict vector azimuths or, if \'treat data as axes\' is checked in the Inspector, the full circle diagrams will be symmetric (this has been a highly requested feature that I\'ve resisted until now!)
      • Addition of a Von Mises Distribution option to the Calculations menu which displays the same 2D azimuthal statistics as the Rose diagram displays. The program now calculates the circular variance, kappa, and 1 sigma standard error for azimuthal data.
    • Plots wil polar grids can now be saved as .pdf and .svg files
    • Fixed a bug that occurred when planes were being entered in \'DD\' format and the data details window was opened.

    Version 9.2.3 — 2015.02.16

    • Corrected a bug that where the equator of the stereonet grid (EW line) would not be drawn in pdf and svg files if the grid was set to 10°.

    Version 9.2.2 — 2015.01.31

    • Corrected a bug that would cause Stereonet to crash if a data set required more than 100 contour levels (Thanks to Al L.)

    Version 9.2.1 — 2015.01.18

    • Corrected a bug in reading the notes fields when importing a \'Lines & Planes\' text file
    • Corrected a bug in saving data that were imported using \'Lines & Planes\' (Thanks to Gordon W. For helping me track this down)

    Version 9.2.0 — 2014.08.18

    • View>Hide Unchecked Values removes the unchecked values in the data listbox from view.
    • The Search Window remembers your last search and automatically selects the same box.
    • File>Save Plot as PICT/EMF has been disabled (again) because of a still unfixed bug in the compiler I use. The only workaround is to use PDF or SVG format output (these are higher quality that PICT/EMF, anyway..)
    • Bug fixes..

    Version 9.1.1 — 2014.07.19

    • Data>Batch Annotate now has a Find and Replace panel so you can you can batch replace any text in the Notes field for multiple observations
    • Rose diagrams now show the number of observations. Also cosmetic changes to rose diagram
    • Stereonet now remembers selected search criteria between searches
    • Corrected a bug that occurred when pasting data into a data set where the copied data had return characters in the notes field (those are now replaced with semicolons)
    • Fixed a rare crashing bug when changing the contour interval in the Inspector (e.g., completely erasing the old interval value before entering a new value)

    Version 9.1.0 — 2014.05.29

    • New Data>Batch Annotate command for adding the same annotation to the Notes field of multiple observations all at once
    • Text file and clipboard parsing dialog now allows one to add multiple columns to the Notes field by adding comma or space separated column numbers to the new combo box for the notes field. Each column added to the notes field is put on a separate line of the notes field.
    • The Search dialog now permits you to add the found matches to the existing checked data so you can sequentially add two subsets together.
    • Stereonet now correctly reads numbers entered in non-U.S. formats. It will use the number format specified in the user\'s system preferences.
    • A minor crashing bug — when the user tried to quit the program when there were no open windows — has been fixed
    • Fixed a bug in reading the old Stereonet v. 6 rake format text files (\'RK\')
    • Fixed cosmetic issues with reading in the text record from a stereonet binary file.

    Version 9.0.6 — 2014.04.18

    • A few bugs associated with deleting data sets squashed (hopefully).
    • Stereonet now checks the screen size and forces the window to be smaller than the maximum screen size, even if a larger window size has been saved with preferences

    Version 9.0.4 — 2014.03.18

    • The Parse Clipboard text dialog no longer appears when Using Edit>Copy All Data and then Edit>Paste into Data Set to move data from one data set to another within the program
    • In the Data Details window, up-down arrows have been added next to the datum number text box, allowing one to step easily through a data set, one datum at a time.
    • A bug changing scale in the extended KML export dialog box has been fixed with other minor cosmetic fixes as well.
    • The ability to import Stereonet v. 6 files in the old \'PQ\' format (lines in quadrant format, e.g., 45 N 27 W) has been restored.

    Version 9.0.3 — 2014.02.11

    • Several small cosmetic bugs related to deleting a data set while contouring is turned on have been quashed.
    • Choosing Data>Enter with Mouse will display a small notification in the upper right hand corner of the Plot canvas. This notification also includes a reminder about what key to press when clicking the mouse to get lines or planes. This notification is NOT saved with the plot.
    • The angle between two clicked points window now displays the line and, if you are working on the second line, the angle between lines as you drag the mouse around. This is particularly useful in conjunction with Enter data with mouse: you can, for example, click one point along a great circle then click and drag the mouse the exact angular distance along the great circle and when you release the mouse, if you are holding the shift key down, the program will plot the second point the specified distance from the first.

    Version 9.0.1 — 2014.02.06; 9.0.2 — 2014.03.05

    • Corrected a bug that would cause Stereonet to crash under certain contouring conditions. Thanks to Mario Sánchez Gómez for help tracking down the bug.
    • Corrected a bug reading the Preferences file in versions 8.9.5 and higher. Stereonet 9.0.2 will write a brand new preferences file called \'Stereonet9Prefs.txt\' to the appropriate location the first time you run it. If you have made changes to the default Preferences, you will need to set them again and save them via the preferences dialog. Thanks to Myra Keep for helping to track this one down.

    Version 9.0.0— 2014.01.28

    • Added two new color contouring options to choose from
    • Corrected numerous cosmetic bugs that reared their ugly heads when a contoured diagram had the size of the stereonet changed.
    • Contouring now works correctly when the view direction is changed from the default

    Version 8.9.5, 8.9.6— 2014.01.24

    • Happy New Year update — only one new feature but it is a big one..
    • Contour Fill! Contours can now be filled with either a monochrome or a rainbow set of colors and plotted with or without contour lines. The contour fill can be made partially transparent and multiple datasets can be plotted on the same diagram. You can still plot just contour lines.
    • some menu items have been disabled at start up if there are no data sets entered as selecting them in that condition could cause a crash.
    • copyright updated to 2014 :-)
    • v. 8.9.6 corrects some screen refresh issues related to the new functionality

    Version 8.9.2— 2013.11.24

    • Added a new planes format: “DR” which allows one to specify planes as Dip Azimuth and dip (e.g., 242/56) in addition to the already existing “DD” format (e.g., 56/242)
    • If you specify either DD or DR formats, the Data Details window will now show your planes orientations in those formats rather than in Strike and Dip.
    • Added a checkbox to the Inspector to specify a polar grid using either equal area or equal angle (without changing the view direction)
    • Fixed a bug that caused crashes when using two planes calculations.
    • Fixed a bug that caused the “Set Stereonet Radius” (under the View Menu) to work incorrectly.
    • The trend and plunge display in the plot pane was not showing the correct values when the view plunge was not vertical; this has been fixed
    • Disabled the Save Plot as PICT/EMF command as several functions that were used have been deprecated and cause crashes on modern systems. It may or may not be reinstated in the future..

    Version 8.9.1— 2013.11.14

    Choices of leaders are less puzzling here than in later installments, perhaps, but it must have been a programmer\'s sick joke to make Mahatma Gandhi a bullying warmonger.Civilization has some interesting world creation settings, which I strongly suggest you use, because the Earth map for it is absolutely terrible (crowded, poorly scaled, and god help you if you picked the English, who are stuck on an island).Civilization is bright and colorful and is a fairly casual play compared to later installments. The biggest strategic factor is Civilization\'s signature “Wonders of the World” improvement; these unique city projects are as numerous as they are expensive, so building them all yourself is next to impossible on any reasonable challenge difficulty.One of the notable aspects of Civilization was the rather motley and incongruous crew of historical figures used to represent each faction. Download nuclear throne update 98 free for mac pc. This gives you a bit of flexibility in your strategy, though there\'s only a limited amount of optimization—it\'s not rock-paper-scissors; units progress with each era in a straight-forward manner—it\'s more about when you get one of one type over one of the other. One can easily get an entire game in over the course of one late night or a lazy weekend.Review By P. You\'re presented with opportunities for peace and trade or war and conquest.Advances are less linear than RTS games and improvements are permanent unlike, say, Age of Empires, where you play multiple scenarios with your civilization and start essentially from scratch each time.

    • Stereonet’s help file is now accessible from the new Help menu
    • The Mac version of Stereonet is now code-signed with my own developer certificate from Apple which means that the first time you run it, you no longer have to go through the process of right-clicking on it as described in the text in the upper left of this page.

    Version 8.9.0— 2013.10.21

    • You can now import old Stereonet v. 6 format files that used the QD format (e.g., N 60 W 45 N). Stereonet does not save data in this format, but this should help people with legacy files
    • The zoom slider for the Google satellite view in the data details window has now been moved to one side, allowing Windows users to see it, perhaps for the first time! Windows users still do not see the strike and dip (or trend and plunge symbol) that is seen on Mac versions of the program. Sorry..
    • You can click the label for the elevation field in the data details window to retrieve the elevation of the datum from the MapQuest elevation server and will overwrite whatever is already in the elevation field. Any previous values are written to the Notes text area of the Data details window.

    Version 8.8.9 — 2013.08.28

    • Kml symbols can now be output as 2D symbols, which of course, are only useful if you are looking straight down in Google Earth
    • More bug fixes

    Version 8.8.8 — 2013.08.06

    • More bugs related to reading old Stereonet v. 6 format files corrected. Other bugs also squashed.

    Version 8.8.7 — 2013.07.27

    • Corrects a bug reading a data file in AD format using commas as delimiters where the quadrant was given as two letters (e.g., \'SE\') rather than just one (\'S').
    • Corrects a bug that would cause a crash when reading more than one Stereonet v. 6 format data files.

    Version 8.8.6 — 2013.07.04

    • Added a horizontal splitter between the data sets and the data list boxes on the right hand side of the Window so that you can resize their heights
    • Fixed a bug that occurred when deleting a data set
    • Fixed a bug where lines entered as rakes could not be selected by clicking on them in the stereonet
    • Cleaned up some of the code which could, of course, introduce interesting new bugs!

    Version 8.8.5 — 2013.06.25, rev. 2013.06.27

    • cosmetic glitch with the Windows splash screen fixed -- not worth changing the version number so download it again if you downloaded in the last few days.
    • A recently introduced version broke the import of Stereonet 6 text files. This has now been fixed
    • Stereonet now quits correctly on Windows when you close the last remaining open Window
    • Tabbing order through dialog boxes has been improved

    Version 8.8.4 — 2013.05.13

    • corrected a bug in the Edit>Paste into data set routine that was introduced by the new compiler
    • corrected a bug in the expanded KML save dialog box that you get when you hold down the shift key while choosing that option. Also added more options for using your own kml symbols.
    • Changed the splash screen

    Version 8.8.3 — 2013.05.13

    • Option-dragging on a text annotation will duplicate the annotation
    • Compiled in a new compiler with minor interface changes
    • Corrected another crashing bug related to Calculations>Poles and Calculations>Planes from Poles that occurred when no other lines (or planes) data sets were present

    Version 8.8.2 — 2013.05.13

    • Corrects a crashing bug in Calculations>Poles and Calculations>Planes from Poles that was introduced in v. 8.7.5. If you have downloaded v. 8.7.5 or 8.8.1 please replace them with this version.

    Version 8.8.1 — 2013.05.30

    • Text annotations — Select Edit>Annotate Plot, click on the plot where you want the text to begin, enter your text and specify color and size if you want and your done. You can reposition existing text annotations simply by clicking and dragging then in the plot pane. Handles occur on either side of the annotation during the drag operation. Viewing annotations can be toggled on or off with Plot>Text Annotations, and annotations can be deleted with Edit>Delete All Annotations. Annotations can be up to 64 characters long. When you right- or control-click on an annotation, you will get a contextual menu which will allow you to edit or delete just that annotation.
    • New binary file format — the addition of text annotations has required a new binary file format. Stereonet 8.8 can read all older binary files; older versions will NOT be able to read Stereonet 8.8 binary files. Sorry…
    • Menu options pertaining to particular types of data sets are only enabled if that type of data actually exists. For example, if there are no Lines data sets, Plot>Lines will be grayed out and you will not be able to select it.
    • The usual bug fixes..

    Version 8.7.5 — 2013.05.16

    • Drag to reorder the data sets in the Data Sets list box (upper right corner)
    • Improvements to text parsing (via files or the clipboard) so that Stereonet will work better with files generated by GeoID iPhone app
    • You can now copy complete data sets to a new or different document by selecting the dataset in the first document, choosing Edit>copy all data then pasting it into the second document with Edit>Paste into data set
    • Fixed bug in parsing comma separated values.

    Version 8.7.0 — 2013.05.01

    • Half circle rose diagrams now work. Use the checkbox in the Analysis tab of the Inspector
    • New menu option to clear the plot: Plot>Clear Plot
    • Cosmetic improvement to drawing 2° grids
    • Fixed some glitches writing the Rose diagram results to the text analysis area.

    Version 8.6.6 — 2013.04.11

    • Two planes calculations — line of intersection, acute and obtuse bisectors, and angle between planes
    • Convert to Lower hemisphere — new command to force all data to be in the lower hemisphere. To protect you from yourself, this command creates a new data set rather than overwriting the old one
    • You can now see the data for an unchecked, but selected, data set.
    • Several graphical glitches concerning the plotting of mean vectors have been fixed
    • Rose diagrams are only plotted when the traditional view direction is used (looking straight down on the lower hemisphere)
    • The four add data sets buttons (\'+L\', \'+P\', etc.) were getting out of hand so they have been replaced with a single drop-down menu.
    • v. 8.6.6 corrects a minor bug in the convert to lower hemisphere routine that was introduced in the short lived v. 8.6.5

    Version 8.6.0 — 2013.03.24

    • Lasso selection now works (but only for lines). You can have it select either those points inside or outside the lasso.
    • New data type: Arcs. Arcs are segments of great circles that are drawn between a starting point and an ending point that you define by entering the trends and plunges of the corresponding lines. Arcs can cross the primitive and you can choose whether to plot the acute or obtuse angle. You can also specify that the program should draw and arrow head at either the start or the end of the arc (or both)
    • Redesign of the Data Sets tab of the Inspector. Now you only see data pertinent to the selected data set. You can select the data set from the popup menu in the Inspector or by clicking on it in the Data sets list box.
    • Fixed (hopefully) a bug with copy and paste on Windows version of the program

    Version 8.5.1, 8.5.2 — 2013.03.06

    • Stereonet is now \'document based\' meaning that you can open as many different windows with different plots in them as you want.
    • When you start up the program, the About box is now displayed; you should select either the new blank file button or the open file if you want to open a Stereonet binary file. At any time, you can choose File>New and a new blank window will appear; likewise, file>open allows you to open another file while leaving the first one open as well.
    • You can now copy and paste data! Select some rows in one data set and paste them to a different data set in the same window or to a a dataset in a completely different window. You can also copy any tab delimited data from any text file (Including an Excel spreadsheet).
    • if stereonet doesn\'t recognize the format of data on the Clipboard, it will present you with a dialog box so you can tell it how to parse the clipboard data. Use Edit>Copy all data to include the data that only shows up in the Data Details Window. To paste into an existing data set, you have to use Edit>Paste into Data Set.
    • KML export of geographically registered 3D strike and dip and lineation symbols for plotting in Google Earth (thanks to Tom Blenkinsop and Nestor Cardozo for the idea). Click here for an example. If you use this option, please reference Blenkinsop, T.G., 2012. Visualizing structural geology: From Excel to Google Earth. Computers & Geosciences 45, 52–56.
    • Bug fixes related to not saving the conical best fit with the plot

    Version 8.0.4 — 2013.02.14

    • Data entry by mouse was broken and is now fixed
    • Conical best fit now uses the approach outlined in Mulchrone et al. (2013) so that it now works more reliably in the lower hemisphere [oops, not exactly, I\'m still working on this.]
    • Other bug fixes and improvements

    Version 8.0.2 — 2013.01.24

    • Fixed various issues related to rake format (\'RK\') and rake preferences selection, including a rotation bug
    • Fixed window rewriting problems when setting the stereonet size from View>Set Stereonet Size.
    • Details window now has a \'2x\' checkbox that will enable you to double the size of the satellite image/map

    Version 8.0.1 — 2012.11.23 (counter reset)

    • Corrected a crashing bug in the Analysis tab of the Inspector when only planes were entered
    • Added a character count to the Notes field in the Details Window so you can tell when you are getting close to the 512 character limit for that field. Character count turns red when you exceed 512 characters

    Version 8.0.0 — 2012.10.22

    • Major feature: Plotting lines or planes on Google satellite (shown above), terrain, or roadmap imagery by choosing Window>Data Details
    • New native data (binary) format now includes location information plus free form notes field where you can write anything about a datum in 512 characters or less. Stereonet 8 can read Stereonet 7 binary files (but not vice versa…)
    • Ability to parse any column oriented text file — particularly useful for entering location data.
    • Search across single or multiple data sets based on orientation, location or date info, or any text fragment from the free form notes field.
    • Axial plane finder in Calculations menu provides basic fold geometry analysis.
    • Return of the conical best fit routine.
    • Angle between clicked points now shows trend and plunge while clicking.
    • Fixed a bug in adding new data to existing data sets.
    • Unresolved issue: The Windows version draws the Google image on top of the orientation symbol and the scale slider. You can still scale the image with the scroll wheel of the mouse.

    Version 7.3.6 — 2012.09.23

    • The Mac OS X version of the program is now a native Cocoa app with a more modern interface rather than the Carbon app as previously.
    • Corrected a bug in the angle between two planes routine
    • Corrected a bug introduced in previous version related to saving a new default window size from preferences
    • Disclosure triangle/arrows now behave in a more \'standard\' manner

    Version 7.3.5 — 2012.09.18

    • Scans can now be repositioned by dragging them within the plot window by selecting Edit>Drag Image
    • Return of the Apparent Dip Calculator! You can use lines or a plane selected in an existing data set, or you can enter new values directly into the dialog box. The results can be written to an existing data file or a new data file for plotting. The Apparent Dip Calculator is a floating window that you can keep open if you have a lot of calculations to do.
    • Default height of the main window has been reduced to 640 pixels to accommodate users who prefer to keep their screen resolutions at low values (e.g., to increase the size of text on their screens). This will hopefully avoid the artifact that cause the text box to overwrite the bottom of the plot area. You can still resize the window to larger sizes once the program has been opened.
    • To compensate for the smaller initial main window size, a a new check box in the Preferences dialog, \'Set current window size to default\', will allow you to have set the initial size of the window to whatever you what.
    • Removed Plot Planes as Poles option. It was confusing too many people, particularly when they couldn\'t do a cylindrical best fit. Now, if you have entered planes and want to plot poles, you will have to choose Calculations>Poles first (which was the original behavior of the old Stereonet. If it turns out that LOTS of people loved plotting planes as poles without calculating poles first, I\'ll consider reinstating it.


    Version 7.3.0

    • New Feature — import scans of existing stereonet plots, and overlay beneath the live stereonet in the program. You can use this to compare your data to published data or, in combination with Data>Enter with Mouse, you can extract digital values from published stereonets. Scans can be imported as pdf, tiff, png, or jpeg formats. New Plot menu option allows you to show or hide a scan.
    • New Feature — SVG (scalable vector graphics) output option for your plots. .svg is an open, high resolution graphics format that can be read by most modern graphics programs. Unlike other graphics output options in Stereonet, .svg saves small and great circles as open polygons rather than separate line segments for ease in touching up plots in graphics programs. Both .svg and .pdf options are higher resolution than the emf/pict format.
    • Bug fixes related to window display.


    Version 7.2.4 — 2012.02.21

    • Mac version of Stereonet 7 posted for those who need a Carbon program that works on Mac OS X operating systems older than 10.6 or for those who need compatibility with the Stereonet 7 for Windows binary file format. For Mac users who have Mac OS X 10.6 or higher installed, I still recommend OSXStereonet. Also posted the Linux version of the program as I have had a few requests for one of those.
    • Corrected bugs related to deleting a data set or an individual datum from a data set
    • Fixed the default setting for Bingham axes to plot all three axes plus the great circle. (The program was defaulting to plotting only the largest principal axis)
    • Deactivated the maximize button in the main window as it was not stretching the window elements correctly. You can still resize the window to whatever you want by dragging the edge/corner of the window.
    • When no data sets are selected in the data sets listbox, no data will be displayed in the data listbox.
    • Added several informational dialogs:
      • If a user tries to delete a data set, they are warned that it is undoable and they have the option of canceling
      • If a user tries to do a cylindrical best fit when only planes have been entered they are now advised that they must calculate the poles first as cylindrical best fit only works on lines data sets. Users have been confused because of the option to plot planes as poles.
      • If a user tries to rotate a \'selected\' data set but no data set is selected in the data sets list box.

    Version 7.2.3 — 2012.01.11

    • Now uses GDI+ for anti-aliased (i.e., smoother) drawing to the screen.
    • Copyright updated to 2012 :-)

    Version 7.2.1 — 2011.11.18

    • Variable rotation by unfolding beds. Choose a lines or planes data set, then select the data set that contains bedding where the observations were made, and click Okay. each datum will be unfolded by rotating the corresponding bedding back to horizontal.
    • Rose diagrams for planes: If the planes format is \'AD\' or AZ\' the rose diagram will be based on the strikes of the planes; if the format is \'DD\' the rose diagram will be based on the dip azimuth rather than the strike azimuth.

    Version 7.2.0 — 2011.11.07

    • Major new feature: enter data with mouse by clicking and dragging inside the stereonet.
    • Fixed bug where window not resized correctly when reading in a binary file
    • Fixed bug where program tried to draw error cone even when normalized mean vector length was <0.65

    Version 7.1.6 & 7.1.7 — 2011.10.26

    • Planes can now be drawn as either solid or dashed lines
    • If only rose diagrams are showing, the equal area angle grid is not displayed. Instead equally spaced concentric circles, at either 5 or 10 percentage intervals, and spokes at 10° intervals are drawn and labeled as a scale for the rose diagram. This happens automatically and only when rose diagrams and nothing else are displayed. The value at the primitive is controlled by the entry in the Inspector Analysis tab.
    • The outer edge of rose petals are now drawn as an arc rather than as a single straight line segment, which is much more attractive!
    • Plot mean vector on rose diagrams has been enabled
    • Fixed some interface bugs related to showing or hiding the data panels
    • Significantly speeded up selecting tabs in the Inspector -- Yay!

    Version 7.1.5 — 2011.10.07

    • You can now hide the data set list and data list panes by toggling a disclosure triangle or from the Windows Menu. This makes the overall window narrower, which might be of help for people on small screens or if, for some reason, you want to hide the data.
    • Various optimizations to improve performance selecting from the Data set list. The Inspector also appears more rapidly, though selecting tabs remains sluggish (sorry…) FIXED in v. 7.1.7
    • Fixed a bug where reading in a binary file that was saved with a view plunge of 90 degrees would be read in with a view plunge that wasn’t exactly 90 degrees
    • Fixed a bug associated with calculating poles from planes and planes from poles
    • Planes can now be visualized as great circles and poles simultaneously

    Version 7.1.2 — 2011.09.13

    • Cylindrical best fit now draws the best fitting plane and writes its orientation to the Analysis text pane
    • When you add a new data set, the appropriate plot type is automatically selected so you see your data plotted as you enter it. E.g., if you select new lines, Scatter will be turned on in the Plot Menu, etc.
    • Preferences dialog box has been added to allow the user to set their preferred default data format and stereonet format settings.

    Version 7.1.1 — 2011.08.30

    • Fixed a bug in the Dip, Dip Azimuth (DD) format for planes. Previous versions did not handle this format correctly
    • Added uncertainty calculations to the cylindrical best fit/Bingham statistics
    • Disabled pop up menu for planes style in Inspector because those options have not yet been implemented -- FIXED in 7.1.7
    • minor bug fixes

    Version 7.1.0 — 2011.08.21

    • Drawing contour lines has now been implemented. You can now do either Kamb or 1% area contouring by selecting one of those options in the Contour submenu of the Plot Menu.
    • Contour lines are saved to PDF files and EMF files, they will print, and they are copied to the clipboard with the rest of the plot
    • Contours do not yet have a fill pattern. Those options have been turned off in the Contour tab of the Inspector
    • Lots of little bug fixes.

    Version 7.0.4 — 2011.08.18

    • Yet another new binary data format. Previous files will not read in correctly, so I hope that you have been exporting your data as text files!
    • Stereonet can now handle input data of lines as rakes (pitches) on planes. To enter a new line-on-plane data set via rakes, hold down the shift key while clicking on the +L button. This will cause both a new lines and a new planes data set to be entered. These data sets should have the same name. The two letter format code for such data sets is “RK”.
    • The format code in the Data set list box has been changed to a two or three letter code, identical to that shown in the table in earlier in the users manual and as used by earlier versions of Stereonet.
    • Changing the format code in the Data set list box will now change the format of the data listing.

    Version 7.0.3 — 2011.08.17

    • New binary file format. It will read the old format with only minor glitches in the analysis text. Nonetheless, you should re-save all of your binary files.
    • Interface for contouring has been put in place (e.g., the Inspector now has a Contours tab) but contouring itself still does not work.

    Version 7.0.2 — 2011.08.16

    • minor bug fixes and behavior changes
    • more predictable Inspector behavior

    Version 7.0.1— 2011.08.15 -- Initial beta release!

    • Things that are known not to work in this release (some may never be fixed…):
    • [Contouring has not yet been implemented] -- FIXED, mostly in v. 7.1.0
    • Set view direction does not work with latitude-longitude plots. This means that you are effectively limited to viewing continents in the Western Hemisphere
    • Conical best fit has not yet been implemented
    • [Adding lines by their rake in a plane has not yet been programmed] -- FIXED in v. 7.0.3
    • There is no way (yet) to combine data files, either by appending them to existing data sets or by or by copying and pasting between data sets
    • Plotting small circle in the upper hemisphere is broken
    • Variable rotation (e.g., by unfolding lines associated with bedding) has not yet been implemented
    • Half circle rose diagrams and plotting mean directions for rose diagrams have not yet been implemented
    • Refreshing the data listing does not always work. You may have to click on the data set again to refresh the data listing -- FIXED
    • There is no way to control the format of the data listing at present -- FIXED in v. 7.0.3
    • There is currently no way to parse an unidentified text file that does not start with the standard two character header from earlier versions of Stereonet.

    When a view is printed, there are several options for how it is placed on the page. If the view is larger than a single page, the view can be clipped, resized, or tiled across multiple pages. The view’s location on each page can be adjusted. Finally, the view can add adornments to each page. The following sections describe the options available for placing the view onto a page.

    Selecting the Page Bounds for Content That Exceed a Single Page

    When a view is too large to fit onto a single page, the view can be printed in one of several ways. The view can tile itself out onto separate logical pages so that its entire visible region is printed. Alternatively, the view can clip itself and print only the area that fits on the first page. Finally, the view can resize itself to fit onto a single page. These options can be set using the NSPrintInfo object’s setHorizontalPagination: and setVerticalPagination: methods with the constants NSClipPagination, NSFitPagination, and NSAutoPagination. The separate methods for horizontal and vertical pagination allow you to mix these behaviors. For example, you can clip the image in one dimension, but tile it in the other. If these options are not sufficient, the view can also implement its own pagination scheme. The following sections describe each option.

    Custom Pagination

    To provide a completely custom pagination scheme that does not use the built-in pagination support of the NSView class, a view needs to implement only two simple methods and set

    1. Set up the pagination mode (NSPrintingPaginationMode) using the the appropriate method of NSPrintInfo (setHorizontalPagination: or setVerticalPagination:

    2. Override the knowsPageRange: method so it returns YES to indicate the custom view will collocate the dimension of each page.

    3. Implement the rectForPage: method so it uses the page page number and the current printing information to calculate an appropriate rectangle in the view’s coordinate system. The printing system sends a rectForPage: message to your app before each page is printed, base on the range of pages the user selects in the Print panel. Note that the vertical and horizontal pagination settings in the NSPrintInfo object are ignored (unless your implementation takes them into account).

    Listing 4-1 shows a simple implementation that splits a view vertically into pages that have the maximum size. The code does not show setting the pagination mode, which you must do.

    Listing 4-1 Code that splits the view vertically into pages

    Adding Page Numbers, Crop Marks, and Date-Time Strings to the Page

    When you perform custom pagination, you can override the drawPageBorderWithSize: method to add extra features to the page, such as crop marks, date/time strings, or page numbers. When you override drawPageBorderWithSize::

    1. Save the view’s existing body frame—you will need to restore it at the end of the method.

    2. Resize the body frame to a rect with origin (0,0) and a size equal to the incoming borderSize parameter.

      This new frame now encompasses the margins instead of hiding them.

    3. Add your custom border elements to all four margin areas (top, bottom, left, and right).

      You typically use the drawAtPoint: method for drawing. Any set of drawing calls must be preceded by lockFocus: and followed by unlockFocus:, otherwise drawPageBorderWithSize: will not draw anything to the page for those calls.

      Use the paper and margin dimensions from the print info object to constrain the printable area and prevent drawPageBorderWithSize: from printing within the body text frame. If you want to print within the body text frame—to print a watermark, for example—do so by printing directly in the newly enlarged frame and ignoring the margin constraints.

    4. Reset the frame to the body text area before exiting the method.

      This assures the next page of content will print only within the paginated portion of the view.

    Tiling Content Across Pages

    If the view does not supply its own pagination information and one of the print info object’s pagination settings is NSAutoPagination, NSView tries to fit as much of the view being printed onto a logical page, slicing the view into the largest possible chunks along the given direction (horizontal or vertical). This is sufficient for many views, but if a view’s image must be divided only at certain places—between lines of text or cells in a table, for example—the view can adjust the automatic mechanism to accommodate this by reducing the height or width of each page.

    Before printing begins, the view calculates the positions of all the row and column page breaks and gives you an opportunity to adjust them. The adjustPageHeightNew:top:bottom:limit: method provides an out parameter for the new bottom coordinate of the page, followed by the proposed top and bottom. An additional parameter limits the height of the page; the bottom can’t be moved above it. The adjustPageWidthNew:left:right:limit: method works in the same way to allow the view to adjust the width of a page. The limits are calculated as a percentage of the proposed page’s height or width. Your view subclass can also customize this percentage by overriding the methods heightAdjustLimit and widthAdjustLimit to return the fraction of the page that can be adjusted; a value of zero indicates that no adjustments are allowed whereas a value of one indicates that the right or bottom edge of the page bounds can be adjusted all the way to the left or top edge.

    Clipping Content to the Page

    If one of the print info object’s pagination values is NSClipPagination, the view is clipped to a single page along that dimension. If the horizontal pagination is set to clipped, the left most section of the view is printed, clipped to the width of a single page. If the vertical pagination is set to clipped, the top most section of the view is printed, clipped to the height of a single page.

    Fitting Content to the Page

    If the print info object’s pagination setting is NSFitPagination, the image is resized to fit onto the page. Although vertical and horizontal pagination need not be the same, if either dimension is scaled, the other dimension is scaled by the same amount to avoid distorting the image. If both dimensions are scaled, the scaling factor that produces the smaller image is used, thereby avoiding both distortion and clipping. Note that print info object’s scaling factor (NSPrintScalingFactor), which the user sets in the Page Layout panel, is independent of the scaling that’s imposed by pagination and is applied after the pagination scaling.

    Positioning Content on the Logical Page

    The NSView method locationOfPrintRect: places content according to several print info attributes. By default it places the image in the upper left corner of the page, but if the print info object’s isHorizontallyCentered or isVerticallyCentered methods return YES, it centers a single-page image along the appropriate axis. A multiple-page document, however, is always placed at the top left corner of the page so that the divided pieces can be assembled at their edges.

    Override this method to position the image yourself. The point returned by locationOfPrintRect: is relative to the bottom-left corner of the paper in page coordinates. You need to include the page margins when calculating the position.

    After the NSView position the rectangle on the page, it invokes drawPageBorderWithSize:. If you haven’t implemented this method, nothing happens. If you have implemented drawPageBorderWithSize:, any extra marks—crop marks, page numbers, and so on—you draw in this method are added to the page. The drawPageBorderWithSize: method is invoked by the printing system once for each page.

    See Custom Pagination for more information on using drawPageBorderWithSize:.



    Copyright © 2002, 2012 Apple Inc. All Rights Reserved. Terms of Use Privacy Policy Updated: 2012-12-20

    ...'>Accurately Calculating Text Height In Cocoa For Mac(02.04.2020)