Yong Technology Inc. is a provider of innovative engineering software solutions.


An online rose diagram app released

We are pleased to announce the first release of our online rose diagram application.

You can find it in the sub-menu of menu Yong Lab. This app is a replacement for GeoRose. It has all GeoRose’s functions. From now on you don’t need to download a package of files to generate rose diagrams.

Don’t forget use HTML 5 enabled browser to use this application. If you use IE as your browser, please update your IE at least to IE 9. Otherwise the image will not show up.

If you have any question please let me know. Enjoy!

PointLink 0.3.0 coming soon

PointLink 0.3.0 will be released in near future with new functions: 1. insert and edit background image; 2. insert arbitrary point with mouse; 3. configure text colors.

With these functions, user can insert design drawings as background and make the points more meaningful. When precise coordinates are not necessary, arbitrary point insertion will simplify data input.

GeoRose – A Geological Rose Diagram Program

GeoRose 0.2.0 is released today. GeoRose is a standalone program, which can generate rose diagram without python dependency.

Currently it can:

  • 1. generate diagram of strike, dip and dip direction.
  • 2. export diagram as png format file.
  • 3. calculate strike from dip direction.

More functions will come soon. It is available at

A free geological rose diagram program coming soon

If you don’t want to code by yourself to draw geology rose diagram like the example shown by my python code, a stand alone program is coming soon to save your time and headaches. Some of the screen copies are posted here to let you know how it looks like. Basically I used the same framework as the one I used in PointLink. I am going to add more functions later in this program to let you have more freedom.

Brief PointLink Tutorial

1. Start PointLink. Click PointLink icon in the folder you extract from the downloaded zip file.

2. Edit Column Title and Type by click menu Setting → Column. Title is the text you want to show at the spread sheet title bar. You can specify different type for each column of the date. Type consists of text, number, date and time. Column information can be modified after data is entered.

3. Edit Parameters by click menu Setting → Parameters. Parameters contain coordinate system, axis columns, diameter column, diameter scale column, label column and information columns. Coordinate  systems currently include xy and ne (north east). Diameter column holds the diameter length for each point shown as hollow circle or filled circle or point. Label column contains labels shown above the points. Information in Information columns will be displayed on the left top corner when points clicked. Those parameters can be changed any time you want.

4. Set highlight rules for both spread sheet and graph. First set default color for points which don’t meet the highlight criteria. Then add rules for columns. For a certain column, if data type is text, only equal (==) can be specified; if data type is number, or date, or time, other relational operators can be used, and AND can be applied as well. Lastly set highlight color for each rule and add it to the rule list.

5. Enter data into spread sheet. Data can be entered manually one cell by one cell. The efficient way is to copy table data from other files or programs like MS Excel, OpenOffice Calc and paste them in current table. Ctr+C for copy and Ctr+v for paste work as standard shortcuts in other programs.

6. Once you input all the data you want, you will have to save them in a file and the points will show up right away. The records in spreadsheet and points in graph meeting your highlight rules will show highlight colors you specified in step 4.

7. You can zoom, pan and zoom all as in other CAD software. Double click of middle mouse button is a shortcut for zoom all. Rotating mouse wheel for zoom in and out. You can move the graph by pressing the middle mouse button. If you click on a certain point circle, the information will show up immediately on the left top corner and the corresponding record in table sheet will be selected.

8. A very useful function is the Find (Ctr + F) in menu Edit, which will lead you to find a specific point based on the information entered for searching in a certain column.

9. Measure distance. Press left mouse button and move, a circle will show up with measured radius.

10. This program must be very helpful to manage and analysis large point data, especially they are linked with rich information. Have fun!

Rose diagram code

If you want to draw rose diagram by yourself, there is a super easy way to achieve it. The cooking ingredients includes: Python, Numpy and Matplotlib. Yes, I’ve already posted it in my other blog.

You only need to run azimuth.py or dip.py or azimuth_dip.py to get the rose diagram you want. The input file and control angle are set in file configure.

Here are examples coming with the code:

Please download the code here: