tick division XY graph

Hello

Some way to adapt to an equal division distance with the same width? If it starts from 09:30 made a line every 2 h... 9: 30. 11 h 30...

Kind regards.

FONSI ha scritto:

Hello

Some way to adapt to an equal division distance with the same width? If it starts from 09:30 made a line every 2 h... 9: 30. 11 h 30...

Kind regards.

You must use the XScale.MarkerValues property node.

See attachment

Tags: NI Software

Similar Questions

  • Divisions of the auto and Auto precision in graphs

    Hi all

    Just a question about the functioning of divisions and accuracy on a line graph when the value VAL_AUTO.  I know what is happening on the scale when it is done automatically, but what is the basis of precision auto and auto divisions?  There are default values?  I tried to search it in the ICB help with no luck.

    Thank you

    Judy

    Hi Judy,.

    Basically auto settings mean only that the CVI will try to pick what he thinks are the best settings for the divisions and accuracy. The axis of the graph will display divisions as much as possible without the numbers being too cramped together. The number of divisions is calculated first, then we Auto-precision. First, we check to see how accurate would be necessary between divisions because the divisions are all equidistant. If 0 is necessary (i.e. divisions are numbers integers apart) then we look at the values min and max of the axis and determine who requires as accurate. There is a fuzzy logic too involved to ensure that values such as 1/3 show that the 0.3333333333333333333 or something stupid.

    There are no default values such as these are calculated on the fly, based on the size of the chart and the min and max values of it.

  • How to get only the whole ticks on a horizontal axis of a graph?

    Hello
    Could someone help me find oout how to get only the whole ticks on a horizontal axis of a graph?
    When I have a number less than 5, I get like 0, 0.2, 0.4 ticks... while I want it to be 0, 1, 2...

    Thank you
    Yann

    healer

    Try this Clara. Put this inbetween your chart labels:



    Set the interval to meet your needs of 'tick '.

  • Manipulate the graduations to get finer resolution labeled tick when you zoom in the graphs

    I have a need to achieve a more fine resolution of the tick labeled in my LineChart when I chose to zoom on a narrow of the chart area. It seems that JavaFX has no support to allow the labelling on the scales, only of the graduations.

    I tried to manipulate the minorTickCount property, but it has the opposite effect of what I'm looking for. For example, to increase the number of minor counties does not reduce the distance between the points of major ticks in terms of value of the axis, and I see no obvious way to actually manipulate what should be the distance between the minor graduations / major in terms of value of the axis. This seems all managed by JavaFX, which is too rigid for my taste.

    I really need to find some sort of solution here, I can't have my axes basically get labeled when the zoom is pretty high for all main scale applies do not at all.

    Does anyone have any ideas? This value opens a feature request for--or already exist? I want to be able to manipulate these axes / ticks more than I currently seem to be able to.

    I have never tried to do something like that, but documentation of the API it seems that NumberAxis.setTickUnit (...) must realize what you need (it sets the distance, in units of the axis between the graduations main brands). You could link it to a dependent value upper and lower too, if necessary.

    Another option would be to subclass NumberAxis and override the calculateTickValues method, although it sounds like it might be difficult.

  • Newbie - waveform graph axis graduation issue

    Hi all

    I'm new to studio of measure (v8.0 with .net c# 2005) sorry if this question has been answered 10 times more, please feel free to point me to a previous thread.

    I have a request to:

    drive voltage analog sampling at 10 Hz reading 1 sample per tick.

    standard waveform graph axis X and Y and a plot as a collection of doubles.

    So far, it's something pretty simple and I can get all this work in the code example.

    My problem is that I want for my X axis to read between 0 and 1800 with the major divisions of 100 and minor divisions = 50. I would like for my actual graph however contain 10-point increments, so that would mean that there will be 500 points between each minor division.

    I looked down through the properties of the axis and I can't enough find the properties that I need to set.

    Can someone help me please.

    Thanks in advance.

    Steve

    Hi Jamie.

    Thanks for the reply. I spent all the update yesterday my system of measurement studio 2012 + Dev Studio 2010.

    I put these settings, looking more closely at my data, I have a problem with my data acquisition analog voltage so I'll search through my solution and start a new thread, as I'm getting 3 times more data that I need, so it is causing my chart to be wrong.

    Thanks again.

    Steve

  • HP 50 g: function Division - grrr

    In College, I used the 48gx and loved.  I have two HP 50g calculators.  I use RPN mode.  If I do the following > > 5 enter 8 then enter the symbol of the division, I get two results - one is:, 625 is the other 5/8, that is, it does not work the calculation.  I have 2 questions:

    (1) how can I get the 5/8 to return a vs decimial 5/8

    (2) is it possible to get an extension before the result instead of a comma?

    Thank you

    Jay

    Hi!, jayats:

    Welcome to Forum!

    You can change the comma with a period, with...

    (H) MODE, key. Then, find _FM. move, keyed directional (plate), the bar. If check, uncheck the box, with the F2 and button F6 (OK), or too, + /-key and F6 (OK).

    Now, you should write, in the battery...

    1. 5 (SPC) 8 /... 625

    For fractions, press F4 (CASE) MODE, find about calculations and uncheck or put on 105 FLAG in exact Mode. Now, FASHION FLAGS uncheck 03 FLAG.

    Now, you should write, in the battery...

    1. 5 (SPC) 8 /... 5/8

    IMHO, you need read carefully, guide the user, available, of... http://support.HP.com/us-en/product/HP-50g-graphing-calculator/3235173/model/3235174/manuals/

  • Discreet ticks

    Please check the picture as an attachment. I need to leave only discrete ticks (and lines) to X axis, for example 1, 2, 3, 4... There are a few measures where the x-axis is an index, not a value continues, so 1.2 makes no sense.

    I was able to reproduce the new show with the lines of the grid becomes out of sync with the divisions. This seems to be caused by division generated values remain the same, even if they are placed at the locations shifted (whenever the minimum or maximum changes, it introduced a new division to the collection, and I see the grid lines redraw). I created a task to solve this problem.

    As a solution, I managed to force updates of grid line with a custom division mode that changed the number of divisions by adding elements of duplication:

    public sealed class CustomDivisionsMode : RangeDivisionsMode {

            bool duplicateFlag;

    public override IList GetDivisions( IRangeDataMapper mapper, int divisionsEstimate ) {

                IList divisions = ...

    // Change the number of duplicated elements to force an update.

                duplicateFlag = !duplicateFlag;

                divisions.Add( divisions[divisions.Count - 1] );

                if( duplicateFlag )

                    divisions.Insert( 0, divisions[0] );

    return divisions;

            }

        }

  • DateTime on x-axis of the graph of the intensity

    How can the x-axis of a graph of intensity be configured to the DateTime data type, similar to the graphic waveform XAxis?  You can set the FormatString DateTime MajorDivisions, but has no way of installing the x-axis values.  Waveform curve has a foot (double [], DateTime, TimeSpan) function that will implement the XScale with the correct DateTime values, but the graphic intensity doesn't seem to have a similar capability.  I tried to configure the graphic intensity YAxis MajorDivisions DateTime Format string and pass then the plot function Tick values for the yScaleStart and YScaleIncrement, but it does not work probperly.  MS2012 release notes say that the curve of intensity has now an automatic formatting for displaying DateTime on axes X and Y.  I tried to use this feature to test the DateTime X and the ability to axis Y; However, the function of automatic formatting is not available for the chart of the intensity.  Any help is appreciated.

    Thank you!

    Jon

    Hello

    Try the following code piece.

                // Set the label format correctly            intensityYAxis1.MajorDivisions.LabelFormat = new NationalInstruments.UI.FormatString(NationalInstruments.UI.FormatStringMode.DateTime, "g");
                intensityYAxis1.Mode = NationalInstruments.UI.IntensityAxisMode.AutoScaleExact;
    
                double[,] data = new double[100, 100];
    
                for (int i = 0; i < 100; i++ )
                {
                    for (int j = 0; j < 100; j++ )
                    {
                        data[i, j] = (i + j) / (colorScale1.Range.Interval * 2);
                    }
                }
                // IntensityGraph only understands double values. But graph can interchange the data value from different types using the DataConverter provided by NI.
                intensityPlot1.Plot(data,
                    0,
                    1,
                    (double)DataConverter.Convert(DateTime.Now, typeof(double)),
                    (double)DataConverter.Convert(TimeSpan.FromDays(1), typeof(double)));
    

    It will be useful.

    Habim stone

    National Instruments

  • angular graphs

    Hello guys!

    I am producing graphs like those in the JPG (those on the right), to show the variation of the angles as my program works.

    One expert suggested the following for me solution (please see the attached vi). It's really cool, but I couldn't find any way to customize it, like changing the tick interval, (what I want is 0, 15,30,45,60,75,90,...) 345), change the color of the dial (not the needle).

    I wonder if anyone knows how to do these, or, if someone has a better solution?

    Thank you very much for your generous help!

    Right-click on the dial (in the block diagram or front panel) and scroll to create-> property node. You will find all kinds of things you can change, in fact the last element in the first column (to change things) is "scale". This includes the range, interval between graduations, color, etc. A good thing about this, is that on the block diagram that they can be connected to write, so you can change the properties on the fly (manually or programmatically) as you accelerate your VI.

    Cameron

  • Graduations twice on the XY graph

    Hi all

    I'm getting weird things on my XY graphs.  I have two graphs that all hold several plots.  Two or three of the plots have only one point, while others have an arbitrary number of points.  For some reason, my category axis are the display of duplicate ticks.  For example, if my x-scale goes from 0 to 20 000, the labels main graduations are 0, 2000, 4000, 6000, 6000, 8000, 8000, 10000...  No idea what is causing this error?

    Thank you.

    mikeporter wrote:
    Formatted tick labels?

    Agreed. It seems that the markers are formatted with a single significant digit. Change that to something a little more reasonable.

  • How can I define a graph minor spacing to resemble a graph of Hypertrend?

    I can adjust the spacing of the main grid by specifying an array of markers of the axis, but it doesn't seem to be a way to set the minor grid spacing.  I want to reproduce the clean appearance of Hypertrend graphics which define the minor to be 1/2 of the main grid grid spacing.  You can use the graphics property axis range minor increment, but it won't let you put less than 5 divisions by main grid.

    Hi sachsm,

    It is a graph of waveform or an XY chart that you work? What are the specific values you are trying to set for the main and secondary grid divisions? I think you should be able to be implemented by the introduction of values for the Properties X minor scale Increment and increment scale x (make sure to set the major increment before the minor increase) Joint a screenshot shows the configuration for a major increase in 10 and a minor increase of 5. This approach seems to work with your application?

    Thank you

  • Disable the change to the scale of the graph

    Hello

    I want to block the scale of a graph on the front panel, which should display the y-scale of 0 to 6.

    So I disable the autoscale y axis. But at run time I can always change the label max tick manually.

    How can I lock the increment on the scale label without using the property node?

    THX,

    Wilbur

    You have a property called editable in properties of scale Y of the graph than the value false.

  • Why the division operator give me different results in different screws?

    Hi all

    I'm quite the LabVIEW newbie, so please forgive me if it's elementary.  I have a signal that I'm acquisition.  The signal is fairly low amplitude (.01-0,1 V).  During each acquisition, I share the values of the sample defined by another few (0.047) using the division operator.  I see inconsistent results and I am puzzled as to why.

    In ex1, which I built from scratch for this post, everything works as expected.  I can confirm with the debugger that every reading of the sample overall is well divided and the average, max and waveform graph look like I expect.

    When I use a similar construction in my real application, however, the division often results in the INF file, and when I look with the debugger I see after fracture of the values of the signal... just don't make sense to me (x 2).

    I thought I must be missing something in the real application associated with split and merge multiple signals, so I ripped out everything except the Division (ex3).  Although this code looks a lot like the ex1 works well, the product always division infs and strange results.

    These three examples receive the same signal.  My best guess is at this point that the built-from-scratch example is force double passes to the operator of division "the right way" and that the examples of dysfunction are force double in a different way, incorrect.  I tried to delete and re-create the signal path in the examples of dysfunction without result.  My problem is that I don't know enough about the LabVIEW data types to find out how to impose the appropriate constraint.

    Can someone point me in the right direction for a solution?  I would be very happy to help.

    Your first image divides your signal of 0.047. Your second and third images are 0.047 dividing your signal. Reverse your son in fracture on image 2 and 3 knots, and I think you should be ok.

  • Format of the axis, 2 lines of graph

    I work with a XY graph with time on the x-axis and I have a question about formatting options.  I can include the date and time, but they are written in a single line, reducing the number of main graduations I have for a given size chart.

    Is it possible to include a line break or ramasseherbe return so that the date and time are written with 1 above the other?  I tried to use/r or/n, but these were simply written in the axis tick labels.  Is there an escape code to use, or is this not possible?

    It is not a "/ r" or "/ n" (slash), but '\r' or '\n' (backward slash). And, when you write your constant on the comic, you must format the string in the menu on the right - click with the button drop down as "------Codes view ' or you will literally '\n' (if you then look as" Code------"you will see"\\n").

    Cameron

  • Tick mark spacing

    I'm trying to figure out how to get the spacing in a chart xy of the graduations. I can't find in the properties. I'll put the max/min for the x / balance there by program and I want to thank scales scale max/min, a past my y max and max x values of data. I do not mean constant + 5 or some because if the main graduations are 100, don't hardly see you any difference where as if they were tick mark in 0.5 increments the graph is too distributed on. Suggestions?

    for,

    In 2009, ticks can be set with the properties of the increment in the range, as shown. Oder versions have this property?

Maybe you are looking for

  • Toolbar lost and can't find it

    HelloI got my tool with a bunch of important sites registered. I cannot locate, but do not know that it is there when I went to bed a few hours ago. But wonder if it's because my foxfire continues to become a message indicating that it is unplugged.

  • Why my radio will not play music

    When I press on a station it will load but then he would go back as I had not clicked on it and I tried many other stations and it still does the same thing, I even turned off and gave him a minute and it still does not work

  • Want more apps for MOTORCYCLE

    I recently watched the new Moto Defy XT at US Cellular. I like the phone, but more important still, there are some OEM applications on the phone I want for my Electrify. They are: eCompass Dashboard MediaSee Any ideas on how I can get these for my El

  • Pavilion 6GBram m6-1205dx: HP Pavilion m6-1205dx - startup password bypass

    Hello.  I just bought a used Pavilion m6-1205dx with windows 8, and the former owner does not know the password to login more. As the previous owner did not backup system discs, I'm trying to reset the device to factory settings, but I don't know how

  • I downloaded adolbe 10.2 beta verson, now the computer is very slow

    I can't do a system restore, it will leave me to fix the problem