Scaling the cwgraph axis

Hi Everybody,
i´m new in here and i have a problem!
So i´m using the PCI6014 card for my measurement and Borland Delphi7.
I´m using a CwGraph to plot the measured graph from my pressure sensor. Now i would like to scale the axis:
x-axis= Time (seconds)
y-axis= Pressure (mmHg)
The Pressure-Axis should show the Value which is measured and the time-axis should show the time currently.
I hope that i describe my problem well!
Can someone help me, or say where i can find something about this?
Thanks

You can format the X axis for time with the usual notation hh:mm:ss or, for long lasting tests, you can format it in a date+time manner.
To obtain the first representation (time only), right-click on the axis and choose Formatting... in the popup menu. In the panel that appears (X Scale Formatting) there is a box in the lower right corner: inside the box you will find the "Relative time (seconds)" option that permits you to format the X axis in time instead of pure numbers.
Once shown in time, you can still adapt the scale clicking on a label shown and writing either the number of seconds since midnight or the corresponding hh:mm:ss string. Example: to set the initial point of the scale to 12 o'clock, double click on the first label of the x axis and t
ype "43200" or "12:00:00": the axis will be rescaled showing 12:00:00 as the initial label.
The second option (X axis with date and time format) is obtained putting 'Time & Date' in the Format parameter inside the X Scale Formatting panel. You can customize date and time portions separately.
Hope this helps
Roberto
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos?

Similar Messages

  • Scaling of the x-axis on LineCharts

    Hello everyone,
    I'm working on using a LineChart to display incoming temperature readings from an embedded device and so far it's working very nicely, but I'm hoping someone can help me with one small problem I'm having.
    I build an ArrayCollection of the temperature readings, including a timestamp of when the reading was received using a Date object, which is then used as the dataProvider for my LineChart.  The vertical axis is plotted correctly, but readings are plotted evenly-spaced on the horizontal axis even though readings are not made at regular time intervals.
    For example, if I received a reading at 1 minute, 2 minutes, and 35 minutes, the three temperatures would be evenly spaced on the horizontal axis.  I want the horizontal axis to accurately represent the time frame of the readings received, so that with the previous readings there would be two points very close to the left hand of the horizontal axis and a single point plotted much further away.
    I seem to be having trouble explaning this clearly so here is a quick sketch I made of the situation:
    Thank you so much in advance for your help!
    Sincerely,
    Tom Morrisey
    Diversified Control, Inc.

    Hi,
             Set the interval for Horizontal axis with minInterval and Max Interval
    <mx:LineChart id="chart" dataProvider="{arr}">
            <mx:series>
                <mx:LineSeries yField="Y" xField="X" >
                </mx:LineSeries>
            </mx:series>
            <mx:horizontalAxis>
                <mx:LinearAxis interval="2" minimum="0" maximum="40" />           
            </mx:horizontalAxis>
        </mx:LineChart>

  • Problem with the Z axis...blurred objects...what'd I miss?

    Howdy,
    I've got some vector objects in Flash that start out real small--like 20-30 pixels square. When I change their position on the Z axis to 'zoom in' on them, the larger they get, the blurrier they get.
    When I just tween the x/y size, and not move the z axis they look fine.
    For example draw a 20x20 square on the stage.
    Convert it to a movie clip so that I can 3D it.
    Scale it up to 300 pixels.
    Looks fine.
    Adjust the Z axis by 1.
    Blllluuuurrrrrrrrr.
    Did I miss a setting somewhere or is this just a limitation that needs to be worked around?
    Thanks in advance,
    -Ted

    Rothrock, Excellent link, thanks for that! Have some points.
    After reading it:
    crap.
    Looks like I need to learn about hand coding the 3d effects, or using scaling instead and adding switch when I need the z....
    Hmmm...that'll require a little mor coffee.

  • Stretching the Z axis

    Many 3D geological models and digital terrains are often viewed with an exaggerated z-axis to make subtle features more obvious.
    Is is possible in Acrobat 3d to exaggerate the z-axis? It would be great if the end-user of the pdf could adjust the vertical exaggeration to different values.
    Thanks

    Rothrock, Excellent link, thanks for that! Have some points.
    After reading it:
    crap.
    Looks like I need to learn about hand coding the 3d effects, or using scaling instead and adding switch when I need the z....
    Hmmm...that'll require a little mor coffee.

  • Changing the x axis

    Hi everyone.
    I have done an fft in lab view signal express, but the x axis shows the frequency (Hz).
    I need it to show the range.
    I have the formulae to change the x axis, but i am not sure on how this can be done!.
    the formuale is range = freq *c*dT/(2*dF)
    Where dT = 0.02
    and dF = 66*10^6
    c = 3*10*8.
    how can i get the range on the x axis.
    many thanks.

    Right-click the graph and select Properties.
    Then go to the Scales tab.
    The drop down box shows by default the X-axis, so that's ok
    If you need another scale, select it first.
    On the same tab you also see Scaling factors Offset & Multiplier.
    Calculate both to convert what you have now to what you want
    I won't do the math's for you
    Enter the two values and
    Then click the Ok button.

  • Reversing the x-axis

    Hi,
    By default, the x-axis in Java 3D runs from left to right. Does anyone know of a way to change this so that the x-axis runs from right to left?
    Thanks

    I think you can use setScale for a non-uniform scaling, so you would use -1.0 , 1.0 , 1.0 , this would essentially be a mirror effect. Careful here, since your axes would no longer obey right hand rule, probably you could flip more than the x-axis to get the desired coord system you are shooting for.

  • How can I change the Y axis to show my values in a descending order in Numbers. eg zero at the top and the maximum value at bottom?

    Hi,
    I'm just about getting to grips with Numbers, but I'm stumped at the moment with this problem.
    I want to show zero at the top on the (y) axis, as zero is the goal and 100 is the starting point?
    can it be done? i would really appreicate some help on this.
    Kind regards
    Rob

    Is it so difficult to read given answers ?
    Barry described the correct scheme.
    In the table "to_chart", the cell A1 contains :
    =ROUNDUP(ABS(MIN(Tableau 1 :: B:E))/10,0)*10
    The cell B2 embed the formula :
    =$A$1+Tableau 1 :: B2
    Apply fill down and fill to the right.
    On the left edge, the colored rectangle is a text block in which I inserted the label values.
    Of course if you dislike this scheme, you are perfectly free to use an other application.
    Yvan KOENIG (VALLAURIS, France) lundi 4 juillet 2011 14:37:56 iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • I want the minimum of the horizontal axis to be the first day of the month.

    I have a situation where I want the minimum of the horizontal
    axis(with date time axis) to be the first day of the month. I
    attempt it like so:
    var max:Date = new Date();//current date is our max from
    which we will calculate the min
    var min:Date = new Date(max.fullYear,max.month,1);
    dateTimeAxis.minimum = min;
    However this first date on this axis is the last day of the
    previous month for example 31 August instead of 1 September. Any
    ideas how to fix?

    Nikos, the only thing I can think of (off hand) is that it's
    defaulting to "zero" hour on that date, if you tried:
    var min:Date = new Date(max.fullYear,max.month,1,13);
    Would that make it work? That would set the date to 1pm.
    Have you considered defining the axis with the data you are
    binding to?
    Cheers,
    David

  • Motion Tween w/ Rotation Dropping on the Y Axis

    Is there a way to prevent a motion tween w/ rotation from dropping on the Y axis? Basically I used Free Transform to change the angle of a line, but it always lowers itself on the Y axis when I insert a motion tween in it.

    Hey there,
    The properties shouldn't be changing when you insert a motion tween. Could you either attach a file with the object *before* you create the tween, or let me know all the properties of the object before you insert the tween so I can try and reproduce internaly?  (X, Y, rotation, scale X/Y, skew X/Y).
    Thanks!
    Jen.

  • How can I use a timestring saved from LV as a csv spreadshee​t file as the x axis of a LV chart?

    I'm saving the timestring portion of a timestamp as HH:MMS  along with each set of data fields to a cvs spreadsheet file, i.e. each row of the file starts with the timestring followed by data in each remaining column. The first row contains data field headings. I can read this file back into LV with no problem and can remove the header row but cannot find a way to use that timestring as the x axis of a chart graph. I have no problem graphing the data in that format within Excel itself. Can anyone help?
    Thanks,
    DennisR

    Check the timestamp indicator, it is trying to write your time-stamp to your time-zone, so you will need to change the time-stamp to universal time. For the time-stamp indicator it is easy enough you just need to edit the indicator to display universal time, however for a purely data sense it is a bit odd, I have never found a straight forward way to do it so I use the conversion between Time in Seconds and Date/Time to do it for me.
    Attachments:
    Time Extract.png ‏21 KB

  • Crystal Reports - Charts - Restricting the data points on the X-axis

    Hi,
    Is there a way to restrict the number of points to display on the x-axis of a crystal chart keeping the number of data points the same.
    For example, if the chart plots date vs value points and the data for the chart is from 1980 to 2009. This means the data points on the x-axis appear very close to each other.
    I need a way to show the chart with all data from 1980 to 2009 but limited x-axis labels. Is there a way to configure the number of labels to show on the x-axis.
    Thanks!

    Thanks for the answer.
    "Right click on one of the x axis labels and select Group (X) Axis Options...
    On the Layout tab there is an option to Skip Group Labels, check this and enter in the number of labels you want to skip". Is there a way to do this from a .NET client or via a formula field in Crystal itself. The data points is going to be dynamic, hence the requirement is to dynamically configure the "number of labels" to be skipped.
    Thanks.

  • BubbleChart autoscale is not working right on the Y axis

    Hi everyone,
    When I'm trying to display some information on a Flex BubbleChart the bubbles are always displayed very low on the Y axis for some reason.
    The auto scale on the Y axis doesn't seem to work properly. It is providing extreamly high values on the Y axis. Do any of you encountered this problem before?
    How do you fix this Y axis autoscale problem without hardcoding the maximum value in the mx:verticalAxis?
    Thank you in advance,
    David

    Just make sure the data in the data provider is correct.

  • How to change the decimal places in the value axis of a chart in WAD?

    Hello,
    The key figure in my chart has 2 decimal places and I want the value axis to show the same. How to do that?
    Thanks in advance, Nathalie

    Hi,
    change the Format property of the ValueAxis-Line to 0.00
    Then the axis displays its values including two digits after the decimal.
    Regards, Kai

  • Using getPixelLocationInImagePlate, how calculate the z axis?

    getPixelLocationInImagePlate
    this method return the x, y in 3d, but the z axis not found...
    how discovery the z axis?
    (sorry for the bad english)

    Hello,
    I don't have LV 7 installed so I can't post the VI sorry.. here's the short answer to your question, you have to use property and method nodes from the ActiveX palette (see screen shot), item 0 is scale X, item 1 is scale Y and item 2 is scale Z.
    More generally there are loads of threads dedicated to 3D graph issues, just do a forum search .
    Hope this helps
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"

  • How can you rotate the labels on the category axis of a graph in Illustrator and have it stay the same when updating the graph data?

    I am needing to create a line graph with dates consisting of MM/DD/YY along the category axis. I would like to rotate the labels 45 degrees and have them stay when I update the graph. I have read about manually doing it, I even made an action to make it faster, but it still seems inefficient. Is there a setting that I could use to automatically create my labels as rotated? Thanks.

    Hi Gravy Train,
    I'm curious about why you are using 2 loops.   You mentioned one is for monitoring and one is for DAQ....what do you mean by that?   What is the overall goal of this piece of code.   Also, I noticed that you are not closing the task.   Since this is just a subset, I realize you could be closing it in your actual code, but just in case you're not.....it is very important that you close all tasks when you are down acquiring data.
    Best Regards,
    Starla T  

Maybe you are looking for

  • How do I connect my MacBook Pro Mid 2010 to a VGA monitor

    I have a MacBook Pro mid 2010 that I would like to connect to a VGA LCD monitor. It connects and I get the mac book screen saver but no desktop icons or tool bar. Am I missing a setting?

  • Do Not Use SOAP Envelope doesn't show on SOAP Parameters

    Hi!.. Somebody knows why the Do Not Use SOAP Envelope option on conversion Parameters for SOAP Adapter isn't there?...I have XI 3.0 SP19 and I'd seen on a lot of notes and how's to that there is a kind of option. I need the functionality that that ch

  • Most of my bugs dissappeared after repairing permissions.

    I have had many of the bugs I have seen discussed on these forums. I have just finished repairing disk permission (using Disk Warrior) and all of those bugs have disappeared. I highly recommend repairing permissions to every Logic user.

  • T440p BSOD when resuming from sleep

    Hi, I have a T440P that was getting blue screen of death every time I was trying to resume it from sleep. KB2459268 fix from http://support.lenovo.com/en_US/downloads/detail.page?DocID=DS019407 and reduced the occurences from 100% to maybe 75% of the

  • CS6 - keyboard shortcuts problem

    in CS6 the basic keyboard shortcuts such as CommandC,A and V are either slow in working, have to be keyed in twice or are not working and have to be selected from the drop down menu. What's up with this? On a Mac OSX 10.6.8. Thanks for any help...