To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example shows how to rotate a chart of data.
Description
It is often desirable to display an Intensity Chart in a manner that allows a user to "overlay" their 2D array of numeric data. In other words, rows of data in the array (left to right) correspond to rows of points on the chart (left to right). By default, the Intensity Chart plots a 2D array in a way that seems to have rotated the array 90 degrees counterclockwise, where rows of data in the array (left to right) correspond to columns of points on the chart (bottom to top). The code in this VI allows the user to return the data 90 degrees clockwise to an "overlay"-style Intensity Chart.
Requirements
Steps to Implement or Execute Code
Additional Information or References
VI Block Diagram
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.