Plotting Data vs. Date

I am tracking my steps and distance per day using a pedometer.  To force myself to learn more about MathScript, I decided to monitor the results using MathScript.  In Excel, the charts allow using dates on the x-axis which is helpful for reviewing the data.  I can't seem to figure out how to do this in MathScript.  Here's a simple example for only two days of data:
time = [datenum('9-Apr-2007') datenum('10-Apr-2007')];
%time = ['9-Apr-2007' '10-Apr-2007' ];
steps = [2743 3000];
distance = [0.96 1.05];
figure(1);
plot(time, steps);
xlabel('Date');
ylabel('Steps');
title('Number of Steps vs. Date');
figure(2);
plot(time,distance);
xlabel('Date');
ylabel('Distance (miles)');
title('Distance vs. Date');
When I run this script I get the two plots and data with no errors.  The only problem is that date x-axis is in the datenum floating point format.  Is there any way to plot a date string?  Eventually I'll have a text file with the date in the first column and the # of steps and distance in the next two columns and read from this file.  First things first!
Also, in the next version of MathScript, can you please make the Esc key clear the current line in the Command Window?
Thanks

Hello Derek,
That's great that you've picked a project to help learn MathScript.  Please feel free to report problems you're seeing or behavior you'd like to see.  Unfortunately, it is not possible in LabVIEW 8.2 MathScript to plot a date string.  However, we are considering adding support for both the date string and the ESC key behavior in a future release of LabVIEW.
Grant M.
Staff Software Engineer | LabVIEW Math & Signal Processing | National Instruments

Similar Messages

  • How to plot data in a chart?

    I'm trying to plot data from a table in
    a ChartControl object. The table consists
    of two columns, one contains a numeric
    value and the other contains a date value.
    I'd like to plot the numeric value on the
    Y axis and the dates along the X axis.
    I've got the same data displayed in a grid
    format, and that's all fine.
    This seems like a simple enough thing to
    do, but I haven't found a basic page of
    documentation to guide me in the right
    direction. How do I do this?

    Use Reshape array to turn your 2-D array into a 1-D array.  You will need to wire in a constant of 40 since you will have 40 elements in your new array.  Convert the 1-D array to a cluster with Array to Cluster.  Right click on that function and set the size of the array to 40.  Wire that cluster to the waveform chart.  Now each of your 40 values you get after the double For Loops will run will append their new data to the 40 lines on your waveform chart.
    Message Edited by Ravens Fan on 12-18-2009 11:30 PM
    Attachments:
    ThermocoupleReadings[1]_BD.png ‏13 KB

  • Plotting data in diadem via LV

    Is it possible to plot data in diadem by specifying the x and y axes values from LV at runtime? I am looking for a solution something like:
    1. Load data into Diadem(give the command from LV).
    2. Load layout into diadem(give the command from LV).
    3. Specify the channels to be plotted from LV.
    4. Plot data
    5. Stop
    Thanks,
    Yash
    Solved!
    Go to Solution.

    Hi Yash,
    Please can you have a look at this piece of example code, I think it does what you have requested.
    You will need to build up a customised array to insert the different channels. You will also need to know the name of your axis system in DIAdem, you can find this by hovering over the axis system in the report view of DIAdem and looking in the status bar at the bottom left of the application window.
    Regards
    JamesC
    NIUK and Ireland
    It only takes a second to rate an answer

  • Best method for plotting data array?

    I am reading data from a Delta Motion controller and writing that data to an array in my vb.NET program.  The data is not time stamped but I know what the sampling interval is (0.001s).  I want to take that data and plot it on my Waveform Graph.  What is the best method for doing this?  I'm sure this is simple, but I'm new to MS and LV.
    Private Sub btnRampUpA_Click(sender As Object, e As EventArgs) Handles btnRampUpA.Click
    Dim Axis0ActualPrsData() As Single = New Single(4096) {} 'Create array for data from the RMC controller to be read into
    Dim Axis0Actual() As AnalogWaveform(Of Single)
    If RMC.IsConnected(PingType.Ping) = True Then 'Check to make sure comms to RMC is good before trying to read data from it
    Try
    RMC.ReadFFile(FileNumber150.fn150Plot0StaticUA0, 112, Axis0ActualPrsData, 0, 4095) 'read the plot data where sample period = 0.001
    Catch ex As ReadWriteFailedException
    MessageBox.Show("Unable to read plot data from the RMC. " & ex.Message)
    End Try
    End If
    End Sub
    Thank you

    PlotYAppend appears to be the answer according to the white page, although I don't have it working as of yet.  Can someone confirm?

  • Plotting Data on a fixed time axis from left to right

    I am plotting data on a Historical Trend graph from the DSC palette. I receive the data from a plc throughout the course of a production shift. I would like to have the start time of the shift (07:00) on the far left of the x-axis and the end time of the shift on the far right (15:30). I would like to plot the data from left to right as the shift progresses. Is this possible? How do I format?
    Many thanks for any input,
    Stuart Wilson

    Hi Stuart,
    All you need to do is place down a waveform chart and then modify the properties slightly in order to achieve this. If you right click and make sure autoscaling is turned off on the x-axis first of all, then go into the properties page and change the x-axis formatting to absolute time then you will be able to plot data with the actual time according to your system clock.
    The only problem you have now is that there probably isn't enough room on the chart to plot data for the entire time between 09:00 and 15:30 depending on how often you want to sample. The default number of data points to keep in the chart is 1024. Therefore if you try and change the max and min values to 09:00 and 15:30 then it won't allow you to set that up as it doesn't think you have enough room there. Right click on the chart again and go down to Chart History Length. Increase this number to a large enough number and then you will be able to set the start time to 09:00 and the end time to 15:30 and as long as autoscaling is turned off this will not change.
    Hope this helps, please find the attached example which will plot random numbers to a chart once a minute and the chart will plot data between these times.
    Best regards,
    Peter H.
    Applications Engineer.
    NIUK.
    Attachments:
    Large Chart.vi ‏16 KB

  • How to remove and add plotted data?

    In my code below I would like to add two buttons and by clicking on a button("Remove") it will remove one by one plotted data,and plot it back by clicking on the button("Add") such as the examples:
    Full data plotted by running the class
    Now by a single click on a Remove button last data point disappear
    another click and again last data point disappear, and so on
    The inverse operation would be performed by clicking on "Add" button: each click will add back a data point
    import javafx.application.Application;
    import javafx.beans.property.SimpleDoubleProperty;
    import javafx.event.EventHandler; 
    import javafx.scene.chart.NumberAxis;
    import javafx.scene.chart.XYChart;
    import javafx.stage.Stage;
    import javafx.scene.Scene;
    import javafx.scene.chart.LineChart;
    import javafx.scene.control.Button;
    import javafx.scene.input.MouseEvent;
    import javafx.scene.layout.BorderPane;
    public class XYMove extends Application {
    BorderPane pane;
    XYChart.Series series1 = new XYChart.Series();
    SimpleDoubleProperty rectinitX = new SimpleDoubleProperty();
    SimpleDoubleProperty rectX = new SimpleDoubleProperty();
    SimpleDoubleProperty rectY = new SimpleDoubleProperty();
    @Override
    public void start(Stage stage) {
    final NumberAxis xAxis = new NumberAxis(12, 20, 1);
    double max = 12;
    double min = 3;
    max *= (1+((double)3/100));
    min *= (1-((double)3/100));
    final NumberAxis yAxis = new NumberAxis(min, max, 1);
    xAxis.setAnimated(false);
    yAxis.setAnimated(false);
    yAxis.setTickLabelFormatter(new NumberAxis.DefaultFormatter(yAxis) {
        @Override
        public String toString(Number object) {
            return String.format("%2.0f", object);
    final LineChart<Number, Number> lineChart = new LineChart<Number, Number>(xAxis, yAxis);
    lineChart.setCreateSymbols(false);
    lineChart.setAlternativeRowFillVisible(false);
    lineChart.setAnimated(false);
    lineChart.setLegendVisible(false);
    series1.getData().add(new XYChart.Data(1, 3));
    series1.getData().add(new XYChart.Data(2, 8));
    series1.getData().add(new XYChart.Data(3, 6));
    series1.getData().add(new XYChart.Data(4, 7));
    series1.getData().add(new XYChart.Data(5, 5));
    series1.getData().add(new XYChart.Data(6, 6));
    series1.getData().add(new XYChart.Data(7, 4));
    series1.getData().add(new XYChart.Data(8, 7));
    series1.getData().add(new XYChart.Data(9, 6));
    series1.getData().add(new XYChart.Data(10, 7));
    series1.getData().add(new XYChart.Data(11, 6));
    series1.getData().add(new XYChart.Data(12, 7));
    series1.getData().add(new XYChart.Data(13, 6));
    series1.getData().add(new XYChart.Data(14, 12));
    series1.getData().add(new XYChart.Data(15, 10));
    series1.getData().add(new XYChart.Data(16, 11));
    series1.getData().add(new XYChart.Data(17, 9));
    series1.getData().add(new XYChart.Data(18, 10));
    pane = new BorderPane();
    pane.setCenter(lineChart);
    Scene scene = new Scene(pane, 800, 600);
    lineChart.getData().addAll(series1);
    stage.setScene(scene);        
    scene.setOnMouseClicked(mouseHandler);
    scene.setOnMouseDragged(mouseHandler);
    scene.setOnMouseEntered(mouseHandler);
    scene.setOnMouseExited(mouseHandler);
    scene.setOnMouseMoved(mouseHandler);
    scene.setOnMousePressed(mouseHandler);
    scene.setOnMouseReleased(mouseHandler);
    stage.show();
    EventHandler<MouseEvent> mouseHandler = new EventHandler<MouseEvent>() {
    @Override
    public void handle(MouseEvent mouseEvent) {
        if (mouseEvent.getEventType() == MouseEvent.MOUSE_PRESSED) {            
            rectinitX.set(mouseEvent.getX());
        else if (mouseEvent.getEventType() == MouseEvent.MOUSE_DRAGGED || mouseEvent.getEventType() == MouseEvent.MOUSE_MOVED) {
            LineChart<Number, Number> lineChart = (LineChart<Number, Number>) pane.getCenter();
            NumberAxis xAxis = (NumberAxis) lineChart.getXAxis();
            double Tgap = xAxis.getWidth()/(xAxis.getUpperBound() - xAxis.getLowerBound());
            double newXlower=xAxis.getLowerBound(), newXupper=xAxis.getUpperBound();            
            double Delta=0.3;
            if(mouseEvent.getEventType() == MouseEvent.MOUSE_DRAGGED){
            if(rectinitX.get() < mouseEvent.getX()&& newXlower >= 0){   
                newXlower=xAxis.getLowerBound()-Delta;
                newXupper=xAxis.getUpperBound()-Delta;
        else if(rectinitX.get() > mouseEvent.getX()&& newXupper <= 22){   
                newXlower=xAxis.getLowerBound()+Delta;
                newXupper=xAxis.getUpperBound()+Delta;
            xAxis.setLowerBound( newXlower );
            xAxis.setUpperBound( newXupper );                       
            rectinitX.set(mouseEvent.getX());                                
        public static void main(String[] args) {
            launch(args);
    }Thanks!

    I would use an ObservableList (probably backed by a LinkedList) of XYChart.Data to store the collection of "deleted" data points. Create the buttons as usual; your "Remove" button's event handler should remove the last element of the series and add it to the first element of the deleted items data points. The "Add" button should remove the first element of the deleted data points and add it to the end of the series. You can bind the "disable" property of the remove and add button to Bindings.isEmpty(series1.getData()) and Bindings.isEmpty(deletedDataPoints), respectively.
    Something like
    ObservableList<XYChart.Data<Number, Number>> deletedDataPoints = FXCollections.observableList(new LinkedList<XYChart.Data<Number, Number>>());
    removeButton.setOnAction(new EventHandler<ActionEvent>() {
      @Override
      public void handle(ActionEvent event) {
        deletedDataPoints.add(0, series1.getData().remove(series1.getData().size()-1));
    addButton.setOnAction(new EventHandler<ActionEvent>() {
      @Override
      public void handle(ActionEvent event) {
        series1.getData().add(deletedDataPoints.remove(0));
    removeButton.disableProperty().bind(Bindings.isEmpty(series1.getData()));
    addButton.disableProperty().bind(Bindings.isEmpty(deletedDataPoints));The other approach would be to use a separate List for all the data points, and keep an integer variable storing the number of data points displayed. Your "remove" button would decrement the number displayed, and your "add" button would increment the number displayed. Both would also call
    series1.getData().setAll(allDataPoints.sublist(0, numberOfDisplayedPoints));You might even be able to make the numberOfDisplayedPoints an IntegerProperty and bind the data property of the series to it in a nice way. This approach probably doesn't perform as well as the previous approach (using a stack of deleted points), because you are not directly giving the chart as much detailed information about what has changed.
    Both approaches get problematic (in the sense that you need to carefully define your application logic, and then implement it) if the underlying data has the potential to change.

  • Plotting data in a 3d surface graph

    I�m having trouble plotting data correctly on a 3d surface graph in my routine.
    The goal of the vi is to plot a 3d image of a region of interest (ROI) from an intensity graph. The user selects the ROI with the cursor from the Intensity Graph (top left plot). The vi shows the region of interest in the ROI intensity graph (lower left plot). The goal is to create a 3d plot from this ROI. The 3d plot appears on the right.
    The problem is that the 3d plot seems to shift the values of the data if data is selected anywhere other than from the 0,0 region of the Intensity Graph. If the user selects data from 0 upwards along the y-axis or to the right along the x-axis, the data plots fine. When the user selects data from the
    center of the plot the data shifts off the 3d plot. The data is not missing. It is shifted. You can actually see the values when you left click and change the view of the 3d plot. The data appears as individual points off the surface graph. Each data point is the correct z data value. The scale on the 3d axes adjust correctly.
    I've attached the routine below in the form of an llb file. The correct version of the main file is "mouse_to_select_area_hamilton4_laura". Do not run the main "mouse_to_select_area_hamilaton4" as it contains an error.
    Attachments:
    Mouse_t1.llb ‏557 KB

    I have the same problem with one of these graphs. I have a surface plot that has been normalized to zero. However, the data is not centered on zero when plotted. I have an X and y vector input to the graph, it doesn't help. I have looked at each column of data and verified programmatically that the mean is zero of each column. There are gobs of data (some are 1 - 2 Mbytes big). Can that cause this? I use other graphs and a polar plot within the same application, they all look fine. I did get the 3D graph to plot correctly once, but the X vector values weren't displayed correctly (my X vector range is from .5 to 240 inches, the graph displayed 0 to 117 - which was the number of inch positions, not the inches positions themselves).

  • How can I plot Data in StripChart using ActiveX in LW/CVI

    I have a DAQ with multichannel, I use an external synchronisation and I like to display my Data in RT using CWGraphChart. When I use PlotChartXY I can only plot the width my graph and then it stop (no stripchart possible!!!). But when I make the same with PlotChartY without my external synchronisation, the STRIPCHART works but I have a problem with synchronisation�I hope you understand what I mean. If somebody can help me or send me an example using stripchart with ActiveX, I will be very thank.
    Alex

    duplicate post, answer here
    Bilal Durrani
    NI
    Bilal Durrani
    NI

  • Plotting data from a text file in LabView 7.1

    This my be a stupid question, but here is goes.  Working with another person, far more LabView experience than I, a VI was created to take data and output it on the screen, real time, as an x-y plot.  Once the test was completed the data was stored in an .txt file which could be read into Excel.  Now the end user wishes to read the old data back into Labview with an x-y plot of the data, the same way it was displayed during the test.  Before I started to pound my head against the wall, thought I would ask this to the group.  Everyone has been very helpful in the pass, so hopefully this will be an easy question for the group.
    The question is how do I import a text file into Labview and plot it on an x-y screen?
    Thanks,
    Scamper

    It really depends on how you've saved the data. If you have a simple text file with x data in one column and y data in another, then you can use the code below. It's just a Read From Spreadsheet File, and Index Array, and Bundle function. Modify as needed for your actual data. If you get stuck, post a small example of your data file.
    Message Edited by Dennis Knutson on 09-17-2008 11:10 AM
    Attachments:
    Read XY Graph.PNG ‏3 KB

  • Plotting Data Incorrectly in a Scatter Plot

    I am trying to plot a graph using a scatter plot in Numbers, and all of the data points are correct except for one. If you look at the data, you can see that the point that is at .00360 on the y axis(the highest point on the graph) is supposed to have an x value of .001 but instead it is too far to the right (closer to .1). This is throwing off my graph and I really need to get this fixed. Below are the links to the data table and the graph. Thanks for any help!
    http://img686.imageshack.us/img686/7/picture3wc.png
    http://img20.imageshack.us/img20/2035/picture4pe.png

    Hi Tom,
    I tried recreating your table and chart, typing in the numbers rather than having any of them calculated, and manually assigning min and max values to both axes to match yours.
    The chart came out with all data points where expected.
    I did notice another difference in the curve though—where yours shows three data points forming a concave-toward-the-origin section (at the leftmost portion that is correctly plotted), mine shows four data points. That led me to count the points and find that there is one point—(0.139,0.00309)—missing from your chart.
    While I don't see from doing this what may be wrong with your chart, it did bring a workaround to mind that should get you a useable chart before your deadline.
    Insert a new (plain) table into your document and resize it to the minimum needed to hold the two columns of data.
    Select the cells containing the X axis data and Copy.
    Click on cell A1 of the new table and go Edit > Paste Values.
    Repeat for the Y axis data, placing it in column B of the new table.
    Select the data block in the new table then insert a scatter chart.
    If you still get the error, manually edit the data in the cells causing the error.
    That should get you through the short term. I think someone may have to look at the actual file to solve the underlying problem.
    Regards,
    Barry

  • How can I plot data from excel in a XY graph

    Labview experts,
    I have a really simple problem in labview:
    I have some data in excel: 2 columns with a certain number data. The two columns are related to each other. So I want to plot all the points in a x y graph. Coordinates point 1: (row1,col1) coordinates point 2: (row2,col2)...
    Now i want, in a first step, import this data in labview and draw the X Y graph in labview.
    So the points of the first column on the x axis and the data of the second column on the y axis.
    that's how i do it now: Attachment
    That's only working if i'm using a waveform graph, but i want a XY graph
    Is there somebody with a solution,
    Kind regards,
    Jelle
    Attachments:
    tryout.PNG ‏9 KB

    To setup a plot of XY from dual column data in excel, select the two column including the name header for both column and then select to insert a scatter plot with the points connected by lines and Voila you have a 2 axis plot with x and Y dimensions and including the title for the trace from the column header already formatted for you. If you select more than 2 columns then the first is the X dimension and the remaindre columns all become Y axis traces for multiple plot lines for each column. This is easy folks and basic excel functions for plotting. One the graph is created and displaying the data, clear the data and save as a template. Now when you call the template and stuff the columns of data into the table fields, excel automatically updates the plot and all you have to do after stuffing the data in is save the excel file. Task done. Good luck.

  • Export Waveform Chart Plots data to spreadsheet file based on X scale (Time Stamp) min and Max Value

    Hi All,
    Query 1:I am trying to export the Chart data(Total plots 6 ) only between the X scale Min Time and Max time limit .
    But couldnt able to achieve that progammtically.
    is their anyway to achieve this.
    Query 2:Also ,In chart their is an  right click option to export data to excel,but when using this option the data get exported in its own temporary name(iv*****.tmp),i dont want this to happen.Instead the data expored using that option should be written in a file specified by me(everyting should happen in backend)
    pls suggest the best solution for above 2 queries.
    Thanks,
    Selvan.

    Hi selvan,
    1) read the chart history (or better keep a history in your own shift register) and limit the data to the XMin and XMax values (read all those chart settings from its properties). Then save the data using WriteToSpreadsheetFile…
    2) The right-click option is as it is. When you need different behaviour you need to program your own routine. Once you finished query 1 it will be no problem anymore to also solve query 2…
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • To read & save data from serial port (write to .csv file), and plot data as waveform

    Hi,
    I've been stuck with this problem for weeks and really need some help. I've been searching a lot but I can't find a proper solution.
    I am trying to use Labview to plot and display some parameters of a data acquisition system for a project.
    The data acquisition system is connected to a computer via serial connection through COM 1 port.
    The data acquisition system sends a serial stream of data (ASCII string with baud rate 19200), as shown below (from HyperTerminal),
    01:00:26,933.24,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,
    01:00:27,931.54,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,
    The serial data stream consists of a time stamp (as 1st data), followed by 16 individual channel data, separated by comma "," and each stream ending in return "\n". Each value of the data ranges from 1 to 6 digits (value of -5000 to 15000).
     I have no problem reading this values correctly using HyperTerminal, but I have problem to plot and display individual parameters of this serial string in Labview. I want to save the entire data in  a “.csv” file corresponding to all the 16 channels with time stamp and plot each individual channel parameter in a graph with time on X-axis.
    I am relatively new to Labview hope I can learn a lot from your help.
     Thank you

    Thank you Dennis.........
    Now I had modified the program incorporating1D array for gauge display.....but currently I have a new problem. The program is running updating the file, waveform graph and Gauge very slowly. Approximately once in every 15 seconds 16 data streams are getting updated in a bunch with gauge sticking to the last value rather than indicating real time value.
    eg.
    12:33:41,-3728.78,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,
    12:33:42,-3730.47,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,
    12:33:43,-3729.81,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,
    12:33:44,-3733.80,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,
    12:33:45,-3733.57,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,
    12:33:46,-3729.27,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,
    12:33:47,-3725.97,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,
    12:33:48,-3730.14,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,
    12:33:49,-3733.20,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,
    12:33:50,-3733.60,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,
    12:33:51,-3732.24,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,
    12:33:52,-3734.51,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,
    12:33:53,-3728.07,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,
    12:33:54,-3732.54,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,
    12:33:55,-3732.24,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,
    12:33:56,-3731.58,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,
    gets updated in a bunch after 15 seconds, rather than in every second. I thought the problem is with while loop but, i realised there is no delay associated with it..... Can u kindly help me in modifing the program so as it can update the waveform, file data and gauge in real time? (I have attached the modified VI file "suitcase new.vi" and the data gathered after executing the same as in "Trail.txt".)
    Thank You,
    Rahul
    Attachments:
    trail.txt ‏85 KB
    suitcase new.vi ‏44 KB

  • How to plot dates on X-axis in Numbers?

    Hey all, need help!
    Have a two-column data layout, with dates in first column and values in second.  For example,
    April 12, 2009 465
    July 16, 2009 329
    Sep 2, 2009 528
    Nov 21, 2009 503
    I'd like to plot this as a scatter plot and see dates on the x-axis (a la Excel).  Alas, all it shows are numeric equivalents on the x axis, in very large numbers.
    What's the trick or solution to this?
    (I have spent a good half hour rummaging the boards here and Googling to no avail.  I did discover the DUR2DAYS trick for doing a related graph in the spreadsheet... perhaps there's a formatting trick here, too.)

    BUMP!
    Anyone?

  • Plotting data with multiple y-axis using waveform chart

    I am using LabVIEW 7.1 and am simply trying to split my data on one waveform chart using 2 Y axis.  One goes from 0-150 and the other from 800-1000.  I want them to graph on the same chart, and I have selected 'duplicate scale' when I right click on the chart, as instructed in the labview manual, but both of my data streams are still only connected to one of my axis.  I can't get it to recognize that one data stream should go on one axis and the other stream should go on the other axis.  Can someone help please?

    Right-click in the plot legend one plot. In the context menu select y-axis and after the axis you want for this plot. The scale is changed directly.
    There is an image of the context menu attached.
    I hope this helps
    Greetings
    shb
    Attachments:
    two y-axis.png ‏16 KB

  • The plotted data on the graph disappear when clearing graphs!??

    Hi folks
    I got this vi, with two graphs, and one chart. I got this chart coz i want the data plots to strip in the graphs.
    but when the VI runs, and i pres stop and run again, the data plot disappears, they are then beeing plotted in the back ground or something like that.!
    Also when clearing the graphs the data plottet disappears.
    How can I overcome that ?
    regards
    Zamzam
    HFZ
    Attachments:
    FlowReadChartHist1_mod2.vi ‏79 KB

    Hello Zamzam,
    same again:
    1) I click "Clear" when the graphs are not filled with data: graphs are cleared, new data appear from left and fill the graphs.
    2) I click "clear" when the graphs are "filled" (the x-scrollbar shows
    more data the display is showing): graphs get cleared, new data appear
    from left and fill the graph again...
    3) I click "stop" at any time: vi stops, actual display stays.
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

Maybe you are looking for

  • All day events from Google truncated on Pre

    An 'all day' event created in Google which lasts more than 1 day will show with the last day of the event missing on the Pre. I just deleted and reset the account (Palm recommend fix) and all the multiple 'all day' events still show one day short on

  • Update rule logic

    I am looking at an update rule to a DSO which also consists of start routine logic. In the update rule a status object is derived using logic. In the start routine there is some logic specific to the status object the details are as follows Start Rou

  • Flash video performance poor in Firefox 3 and other newer Gecko-based browsers; fails to detect mouse movement in full-s

    Regardless of configuration, I have found Flash video performance on Firefox 3 to be severely sub-par. Numerous visual lags occur throughout a typical Youtube video as it cannot seem to manage to maintain a steady frame rate. When in full-screen, mou

  • Year to date question!

    Hi Experts - I need a report like below: Employee         Aug Sales       YTD Sales Jon                      5000                 60000 Tom                     2000                 70000 I was reading through the forum and I see that I have to use cu

  • Discrepancy between Pacman FTP and Arch website ? [solved]

    Hi, I just wanted to report out what I think is a discepancy between the pacman FTP base and the Archlinux website. I installed kde yesterday pacman -S kde and replied yes to the question asking me if I wanted to install all kde group components. I e