Unlink x-axis marker values from graph scale

Say there are three points to plot: y-values 2.1, 2.2 and 2.3. The x-values are 0, 1 and 2, respectively. How can the x-value marker values be changed to 22, 50 and 100 without rescaling the plot's x-axis?

> I've tried this with all graph types. I want the points to be evenly
> spaced on the x-axis. I want the marker labels on the x-axis to be
> arbitrary. e.g.: plotting gain error (y-axis: generally {-1%..1%})
> versus gain setting (x-axis: generally {48, 24, 8, 4, 2, 1, 0.5,
> 0.025...}).
>
The LV graphs support linear and log scaling, and they support a linear
transform between the plotted value and the labeled value, but you are
correct, they do not allow arbitrary labeling of the points on the scale.
To work around this, you might look at placing cursors/markers on the
graph. Show the text labels, hide the lines and points, and set the
color however you like for the text. The marker location can be at the
bottom or top of the g
raph, and the text can be your arbitrary values.
Then hide the X Scale.
Another approach is to hide the scale and have an array of strings or
numerics that you overlay. The problem with this approach is that as
fonts change when you change platforms, or MS changes the default font,
your array and graph won't line up. The markers on the graph always will.
Greg McKaskle

Similar Messages

  • How to use time values from graph or chart for other calculations

    iam generating an ultrasonic signal of frequency 500k. In the equation i need the values of time axis of the graph or chart for calculationg the envelope of the graph. please help me how to use the x-axis time values.I have tried by writing in spread sheeet or by using arrays. here iam not able to get only 1 dim time values.
    AshwiniP

    Use a property node

  • Extract y value from graph at any given time

    I have a graph with a pre-plotted curve generated from a standard set of results. I need to extract the y value of the curve at any given point. My y value is pressure and my x value is stroke(hydraulic cylinder movement in mm). So for example at 10mm(x value) I need to extract the pressure(y value). Is there a property node I could use for this? any help would be much appreciated.

    Hi Alan,
    instead of reading values from the graph you may use the interpolation functions from the array palette to do interpolation on the plotted values directly...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Display Phase value from graph

    Hi,
    I'm pretty new to Labview and I had a question about reading phase from a graph. Attached is the phase vs frequency but it's a bit difficult to pick out what exactly the phase is at a value. Is there a way to specify the frequency and have Labview display a numerical answer at that point? For instance could I input 50 hz into a box and have labview display 30 degrees? Attached is my phase shift plot.
    Attachments:
    phaseangle.jpg ‏99 KB

    Here's another simpler example. 
    The input wave is  50 and 120 hz cos wave which shows up great on the magnitude but the phase is all wonky. I've applied windowing functions and unwrapping the phase neither of these seem to help out much. 
    ==edit==
    An an even simpler example is this 100 hz sine wave. The phase is also unreadable for this one.
    Attachments:
    phase2.jpg ‏311 KB
    phase3.jpg ‏340 KB

  • Axis marker setting of Graph control

    Hi, I want to set specific markers for the axis of graph control,  first, I try to use property node, but  I can't find appropriate property to set marker of axis;
    I am thinking the axis should looks like:
    X  Axis: 0(min), 90, 180, 270, 360;
    Y Axis: 0, 10, 40, 80, 120;
    Z Axis: 0, 5, 10, 25, 50;

    it seems the Increment setting can do that

  • How to return marked values from the FM F4IF_INT_TABLE_VALUE_REQUEST

    Hello all.
    I'm using the FM F4IF_INT_TABLE_VALUE_REQUEST with multiple choise activated.
    My problem is: if I mark, for example - 2 choises from 5, and then press OK.
    If i go in to the same F4 button, I what to see the same marks like before..
    At the moment, if i go in again to the same F4, nothing is marked, as if i'm going in for the first time.
    Can someone help me?

    Hi Barak,
    I don't think you can achieve this functionality using this FM. Even I think this is not there in standard SAP help, please check.
    Regards,
    Atish

  • 3d plot axis marker goes into graph

    Hi All - when I run scans in a 3d plot, with autoscaling enabled, the problem shown in the attached figure presents itself - the font goes into the fluorescence (Z) axis. Is there some easy way to avoid this? I suppose I can change the font size, but this seems like something that should be done automatically by labview. Thanks. 
    Attachments:
    scan problem.png ‏144 KB

    Does defering panel updates help with the flicker on these graphs?  I dont think it did with the old, better, cw3dgraphs if memory serves.
    Tim Elsey
    LabVIEW 2010, 2012
    Certified LabVIEW Architect

  • Resetting axis step value in graphs

    I'm having a little problem with trying to format the y axis of a graph. I want to do it with a bit of pl\sql code (using some of the examples). There is no format trigger for this object and I can't seem to create one. There are code examples with the Graphics Builder Reference but they don't state how to get them to run. Does anyone know how to get a format trigger for the axis or could suggest where I should make the call. Oh yeah, the final output is a pdf report generated by rwcgi60.
    Thanks
    null

    Script has NO access to live graph data… It can only break them… then fish in the group for bits…

  • Extract high values from graph "PART 2"

    This question builds from the post found here.  
    In th attached VI, how to correctly set the threshold so that all the "spikes" can be displayed in the "Spur List"? I should get 3 points in the Spur List.
    Thanks,
    hiNi 

    You're nearly there.
    Subtract the Cubic Spline Fit from your actual data. You'll be left with a mostly flat dataset with just your spurs sticking out.
    With that flattened dataset, you can perform a simple threshold to extract your peaks.
    (i.e. don't worry about taking the threshold of your cubic spline fit. That doesn't tell you anything. Do take the threshold of [Your Data Minus Cubic Spline] to get your spurs. I have no idea why you're deleting your first spur.)
    EDIT: Also you can expand out your Index Array to pull both the first and second columns. No need to have 2 Index Array functions.

  • How to set physical min/max values for a scale in xy graph?

    Hello,
    I have troubles with the way LabView handles physical units in xy graphs. In particular, I use a time scale for the x axis.
    The values are timestamps and have the unit [s]. Now I want to read write the min max values for this scale via
    property nodes. It seems that the properties for min max do not support the use of the unit I use for the data for
    that same axis. This is very inconvenient and I am not even sure which kind of data to use at all for this properties.
    Is it simply converting to/from [s] using the unit converter?
    (I am using LabView 7.1 for the programm in question).
    Thanks,
    Olaf

    Hi Olaf
    "It seems that the properties for min max do not support the use of the unit I use for the data for that same axis."  
    What are the units you are using? can you make it a littlebit clear.
    You can change the units also using Property node.
    Just check the attachment once. If that is what you are looking for, then the problem is solved.
    Regards
    Anil
    Message Edited by reddy on 05-23-2006 05:25 AM
    Message Edited by reddy on 05-23-2006 05:27 AM
    Attachments:
    X-Scale.jpg ‏8 KB

  • WAD Graph-  Value Axis display value with commas

    Hi Gurus,
    In the WAD graph Value Axis displaying the value from 0 to 40000 like below
    40000.
    30000.
    20000.
    10000.
            0.
    But we want to display with comma for every 3 digits(1000). like
    40,000.
    30,000.
    20,000.
    10,000.
              0.
    Please do needful.
    Regards,
    Kiran A
    Edited by: Kiran A on Oct 21, 2009 6:00 PM

    Hi Kiran A,
    you can do it as follows:
    Edit Chart->Refine->Value axis->Line->Format-> here you have to put: 0,
    That is all
    Regards
    Erwin

  • Access the X-axis value from Flash Chart

    Hi,
    Is there a way I can access the X-axis value from Flash Chart to populate a report in another page? My X-axis is not a direct column in the table it is computed in the query.
    X-axis is MON-YEAR computed from the Begin_Date column. I want to capture the MON-YEAR clicked by the user to populate a report for that Mon-Year.
    Here is my chart SQL.
    select 'f?p=&APP_ID.:18:&SESSION.:::::::' link,
    to_char( "VIEW"."BEGIN_DATE",'MON-YYYY') label,
    sum(decode(TYPE_Id,2,Value,0)) "Value-1",
    sum(decode(TYPE_Id,1,Value,0)) "Value-2"
    from "VIEW" where to_char( "VIEW"."BEGIN_DATE",'MON-YYYY')= to_Char(sysdate-100, 'MON-YYYY')
    group by to_char( "VIEW"."BEGIN_DATE",'MON-YYYY'),
    to_char( "VIEW"."BEGIN_DATE",'YYYY')
    order by to_char( "VIEW"."BEGIN_DATE",'YYYY')
    Any suggestions?
    Thanks

    Thanks Marco..
    I did the same thing. I found this info at Re: Charts and links
    in the forum.
    Thanks for the help again.
    Nimmi

  • When I try to use 'Stacked Column Bar'. with data assigned in the graphs, and want to see it in the 'Preview' mode in Xeclsius, I unable to see the graphs apart from the Axes ans Series Value, the graphs becomes totaly invisible why So ?

    When I try to use 'Stacked Column Bar'. with data assigned in the graphs, and want to see it in the 'Preview' mode in Xeclsius, I unable to see the graphs apart from the Axes ans Series Value, the graphs becomes totally invisible why So ?

    Hi Ranendra,
    For basic understanding of Dashboards and Models you can use standard Templates or samples which ll come along with dashboard designer(Formly Xcelsius) installation.
    For path   File-->Templates(or Samples).
    Under Templates you ll have different categories and for each you ll find the dashboard Templates.
    Regards,
    Venkat P

  • How can I add custom captions to a waveform graph scale?

    I have an application that displays one or more signals in a WvfmGraph.  The X Axis is set by a hardware encoder giving signals vs. distance (measured length).  I would like to change the caption of the XScale according to the values of one of the signals.  Its similar to an XY graph, but differs in that I want to see the data unrolled.
    The problem is that the X Axis scale markers are fixed.  I would like to ask the graph what is range property of the X Axis scale.  Then use that information and a derived position signal to replace the marker values with values from a derived signal that includes relative motion. 
    For example, measuring a unit 100 feet long results in measurements of 200 feet worth of data (out and back).  The customer would like to see this data unwrapped 0, 50, 100, 50, 0. 
    One alternative is to use an XY Graph, but the data on top of itself.  Not necessarily a bad thing, but not the same as what they have always had.
    I found a similar post to display the scale at a rotation (CW or CCW) and was able to get it to work for my specific case.  The problem is that my picture marker values are not aligning nicely with the corresponding gridlines. 
    Attachments:
    Position vs MeasuredDistance.PNG ‏43 KB
    Position vs. PseudoPosition.PNG ‏37 KB

    Stephen,
    Thanks for replying to my post.  XScale.Range does not handle this situation.  In "rigorous" terms, LV does the right thing with X axis scale markers and put them where you want.  I tried to set custom Marker values as: {0, 50, 100, 50, 0} and only saw the first three values.  My guess is that under the hood, the spacing is set to 'Arbitrary' and my custom values are overwritten.  Not what I intended, but I admit my task is not the normal use case.
    Today I am prototyping the entire application with each WvfmGraph replaced with XYGraph's.  Good thing I used a modular design and passed Refnums around to all my subVI's.  Depending on a review of this prototype, I might skip this graph scale formatting.
    FYI, the original graph issue wanted to rotate the marker labels CCW.  They hid the graphs XScale and used a custom picture to display the new scale.  There is a VI that formats an axis with custom labels, where the font, text, etc. can be customized.  I have a working example of that custom scale on a Wvfm graph.  I stopped refinement when I tried to consider use cases for how the user would zoom on the data, how the graph's label's would appear if the DAQ signal indicated that the part reversed on itself.  All the data is better visualized on an XY Graph.
    p.s. are you one of the Waterloo Labs engineers?  Great stuff!

  • Reciprocal Graph Scales

    I'm trying to plot an XY Graph with one of the scales (x-axis) set to the reciprocal of a variable.  I can plot this by calculating the values within an array, however the scales (as would be expected) now show the reciprocated value (ie. 1/value).  I would like to plot the reciprocal values whilst still displaying the actual values, similarly to how mapping in log mode would show the value before taking it's logarithm.  Essentially I'm wondering if a reciprocal mapping mode can be generated, since the scale varies non-linearly.  I'm using LAbview V8.0.  Thanks.

    Wiebe@CARYA wrote:
    Create a property node of the graph, select the Y Scale, and select the property Marker Values[]. With this property, you can set the markers any way you like it (the values are sorted automatically). Use the Flipped property to reverse the scale.
    I am pretty sure if this will not work because "stel" wants labels that don't correspond to the underlying plotted data. For example, he wants to show a 10 where the value is actually 0.1, etc.
    The proper solution would be to make your own graph in a picture indicator. Have a look at the example "XY Multi Plot.vi" as a starting point.
    Unlike the scales of sliders, graph scales unfortunately don't support text labels (Now here's something that could be useful! ). Of course you could cheat, hide the graph axis and substitute a slider with only the axis shown. Now assign label/value pairs of e.g. "10"/0.1, "2"/0.5, etc.. as desired.
    Align everything perfectly and make sure to disable "autoadjust scales" on the graph so things don't move around. See how far you get.
    LabVIEW Champion . Do more with less code and in less time .

Maybe you are looking for

  • CIN related error at the time of GRN

    Hi experts, We have recd an imported consignment for one item - qty 130 MT.  Initially the qty was shifted to custom bonded warehouse.  We are receiving it partially in Lots at our plant as per our requirement.  The invoice no. is 1284 .  We have rec

  • APP store information

    Hello, sorry for posting in this section but i dont konw where to ask about this topic. Looking in the different app stores i saw there are some apps that aren´t avaible in some countries. For example in Costa Rica app store miss some apps that are a

  • Cant connect to RDP session hos server with RDP Windows2012 R2

    Hi, i have problem with connecting to my two RDP Sessionhost Servers with rdp. the login problem is occuring randomly but more often on one host. Environment, 2 session host servers, 1 broker server and 2 webbaccess servers. The webbaccess and broker

  • Regarding connection pooling in java mail

    Hi, I’m implementing enterprise application which has ability of sending/receiving emails. I’m using java mail API 14.3. I have implemented the application level connection pooling which keep track of open folders, perform the time-out and other task

  • Where is the feature that can unblur an image?

    At the Adobe MAX 2011, this one guy showed a feature that can unblur a blurred image. Is this feature on Photoshop 6 beta?