Apache License 2.0

项目介绍

unipsycho/Graph-Extensions-LabVIEW 是一个托管在 GitHub 上的开源项目,主要使用 LabVIEW 编写,采用 Apache License 2.0 许可证,目前获得 107 个 Star、48 次 Fork。

仓库全名
unipsycho/Graph-Extensions-LabVIEW
开源许可证
Apache License 2.0
Star 数
107
Fork 数
48

README 摘要

Graph-Extensions-LabVIEW These add some nice mouse effects and highlighting options on XY graphs and Waveform graphs by extending the picture controls within graphs and some simple events. Video Preview of Graph Extensions Currently, there are 6 main extensions: Cursors - Show real time overlay of data values and time at the cursor and plot intersections Graph BGK Colors - Lets you set bgk color where the minor and…

完整内容见 GitHub 原始 README 或本页 。

常见问题

Graph-Extensions-LabVIEW 用什么语言开发?

主要使用 LabVIEW 编写,采用 Apache License 2.0 许可证,目前有 107 个 Star。

Graph-Extensions-LabVIEW 可以免费商用吗?

仓库采用 Apache License 2.0 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 Graph-Extensions-LabVIEW 的源码?

可以直接克隆仓库:git clone https://github.com/unipsycho/Graph-Extensions-LabVIEW.git,默认分支为 master;安装与运行步骤见仓库 README。

Graph-Extensions-LabVIEW 最近还在维护吗?

仓库最近一次更新为 2019年10月10日,当前没有未关闭的 Issue;Star 数为 107,可作为社区活跃度的参考。

简要分析

热度分
219
价值分
80
活跃状态
活跃
暂无主题

语言占比

LabVIEW

README

Graph-Extensions-LabVIEW

These add some nice mouse effects and highlighting options on XY graphs and Waveform graphs by extending the picture controls within graphs and some simple events.

Video Preview of Graph Extensions

Currently, there are 6 main extensions:

  • Cursors - Show real time overlay of data values and time at the cursor and plot intersections
  • Graph BGK Colors - Lets you set bgk color where the minor and major grid colors are then setup for you
  • Peaks and Valleys - Allow you to highlight on the graph any # of peaks and valleys from the data
  • Markers - Interactive labels and regions to mark up the graph.
  • Scrollwheel Zooming - adjust and zoom the graph by using the scroll wheel
  • Plot Highlight - flash or highlight a plot by its thickness, to emphasize one plot s

Cursors

-Shows cursors automatically at mouse for each plot. Various options to enable added lines, sizing, text formating, timestamp displays, etc.

Shows real time cursors overlayed in a graph, using just one mouse move event case. The options for the cursors can be highly customized to set up a unique cursor style.

Usage: Place this inside an event structure on any XY graph, in the “Mouse Move” event case. Set the options as an input cluster to override the defaults. The output picture control would typically be connected to the XY Graph’s “PlotImages.Front” property item.

Cursor-Simple

Cursor Options

Horizontal Line? - Draws a horizontal line to intersect each plot Verticle Line? - Draws a verticle line at the mouse location to highlight the cursor location (typically on the time scale) Timestamp - Sets where to display the timestamp (if you want it at the top or bottom) Used best with the verticle line turned on. Font - Setup the font for displaying the cursor text Alignment - Sets the alignment options for the text relative to the cursor point TextFormat - Sets the text display format at the cursor points to show. Three input parameters are available for the text, which can be accessed using parameter numbers. inputs:

  • Timestamp at cursor locations
  • Value of the plot
  • Name of the plot

Examples: $2$.2f\n\n%1$s This shows the value of the plot with 2 decimal places. A blank line, then the name of the plot

Cursor-Advanced

Graph BGK Colors

This allows a graph to easily have its background color changed, and the gird lines will automatically be colored to subtly match the color based on shifting the luminance up or down to constrast the color set.

BGK-1

BGK-2

BGK-3

Used by reference with a color input, to simply change the color. Can be user driven or used once for initialization.

Peaks and Valleys

Allows data to be scanned for peaks and valleys with width and amplitude thresholds to determine them. It can be used statically or driven in an event structure on graph scale changes to have it follow the graph edits by a user.

Peaks&Valleys-1

Markers

Markers will allow a user to add 7 types of markers to a graph:

  • Point
  • Arrow
  • Line Vertical
  • Line Horizontal
  • Range Vertical
  • Range Horizontal
  • Range Box

RangeHorizontal

RangePoint

When marker mode is active, the mouse moves will be shown with a overlay for that marker, depending on the type selected by the user.

The user can right click to change the marker mode on the graph.

RightClick

Once any markers are added, they are redrawn on the graph and all types can be used on the same graph, as many times as they are wanted.

Marker Types

Other right click options are to allow the amrker colors and font settings to be updated live. Marker Options

Lastly, right clicking also allows the markers to be manually edited or removed. Marker Edit

Scroll Wheel Zooming

This is a simple extension that allows the mouse scroll wheel to perform centered zooming functions at the current mouse location. It is added with just a single VI to the events, to enable the scroll wheel function.

Video Preview of Scrollwheel Zooming

Plot Highlight

This extension is a single VI that can be used to visually highlight a plot (specifically when using a multiplot graph) so that the plot of interest can be shown. Useful when combined with plot selections or plot updates that might need to be highlighted to the user.

评论

暂无评论