How Do I Zoom In on Waveform Graph In C#

Updated Apr 6, 2018

Reported In

Software

  • Measurement Studio

Programming Language

  • C# .NET

Issue Details

I want to plot a graph using an array of Y values. I want to use a Y Plot function to zoom into the values after I plotted them. Is this the best way to do this?
 

Solution

The Y plot function only takes in an Array of Y values and plots them against an inputted range of x values. Because these Y values aren’t directly associated with the Y values you can't zoom to a certain Y range by just changing the inputted X value range.

Instead of using the Y plot function the best option is using a for loop to parse the data between the specific X range after it has been associated with the X range. Then you can plot this new range of data.

WAS THIS ARTICLE HELPFUL?

Not Helpful