Shift value on axis on a graph

Hello. I have a program that collects data and then plots it. I would like to be able to shift the graph left or right. Just like in an oscilloscope one can shift the time axis so that the zeros intersect the blocks. I would appreciate it if someone can help. By the way I am using the XY graph indicator but if you have answers for the wave chart that will be welcome as well. Thanks in advanced.

You could add or subtract the desired shift amplitude from the X values, as in the attached example.
CC
Chilly Charly    (aka CC)
         E-List Master - Kudos glutton - Press the yellow button on the left...        
Attachments:
Shift Plot.zip ‏15 KB

Similar Messages

  • Is there a way to link the x-axis of multiple graphs in a report? Using DIAdem 12.0

    Is there a way to link the x-axis of multiple graphs in a report?  Using DIAdem 12.0

    What  I am after is this...  If I have multiple 2D axis systems in a report with each y axis showing different channels of a particular data file and with each x axis being the time stamp of that data file, rather than changing the x axis values of each 2D axis system to zoom in on a time slice, I'd like to change only one and have all the others match.  So I suppose yes, I want each of the multiple 2D axis systems to have the same x axis, but I want unique 2D axis systems, not one system with multiple y axis or "n systems".  I'm hesitant to post a sample report as this is a public forum.  Thank you.

  • Getting dual axis on a graph in SSRS to align at 0

    I have a graph that has 2 values that are plotted on dual axes.  Both values can be positive or negative.  Is there a way in SSRS to align the 0 point of both axes?  Preferably, I would like to retain dynamic values for the axes.
    I'm using 2008r2
    Thanks for any help.

    I figured out the issue with incrementing whole numbers, and this is the solution I used.
    You will need to manually set the interval value to determine the increments you want the line showing up. In my case I wanted the primary axis to show a value every 5 and the secondary axis to show a value every 5000.
    Manually setting the interval will cause the primary and secondary axes to be off again. To fix this, we will need to have the same amount of intervals on both axes. For instance, if we have 6 intervals on the primary axis we will need to have 6 intervals
    on the secondary axis to keep them lined up.
    I wrote custom code that will be used as expressions in the Maximum setting for both axes. The purpose of the functions will be to determine which axis will have more intervals, then calculate the maximum value needed to have the same amount of intervals.
    Primary Axis Maximum Expression
    =Code.FindMaxValueForPrimary(max(Fields!PrimaryField.Value), max(Fields!SecondaryField.Value))
    Secondary Axis Maximum Expression
    =Code.FindMaxValueForSecondary(max(Fields!PrimaryField.Value), max(Fields!SecondaryField.Value))
    Custom Code
    Public Function FindMaxValueForPrimary(ByVal PrimaryValue as Integer, ByVal SecondaryValue As Integer) As Integer
    IF Ceiling(SecondaryValue/5000) >= Ceiling(PrimaryValue/5) Then
    Return Ceiling(SecondaryValue/5000) * 5
    Else
    Return Ceiling(PrimaryValue/5) * 5
    End If
    End Function
    Public Function FindMaxValueForSecondary(ByVal PrimaryValue as Integer, ByVal SecondaryValue As Integer) As Integer
    IF Ceiling(SecondaryValue/5000) >= Ceiling(PrimaryValue/5) Then
    Return Ceiling(SecondaryValue/5000)*5000
    Else
    Return Ceiling(PrimaryValue/5) * 5000
    End If
    End Function

  • How to add Diagonal Axis on 2D graph

    I try to plot data like this picture attached . is there anyone who know how to plot three axis on same graph  . Here, Axis is added diagonally. and point of Three peak value is marked as point.
    Help me. is it possible in labview? See JPG file .
    Attachments:
    SDC11183.JPG ‏2664 KB

    Hi Wenjun,
    Thank you for the idea.
    Is there any way to display label for only one measure out of two measures defined?
    Thanks & Regards,
    Pruthvi G N.

  • Unequal size of X, Y, Z axis for 3D graph

    Hi,
    I have different size of array in X, Y and Z axis. What graph should I use best? I tried using 3D surface graph but it consume all my memory.
    My data is X = 1 X 41 array
    Y = 1 X 32768 array
    Z = 41 X 32768 array/matrix
    Thanks a lot...

    Samuel S wrote:
    That is also correct
    Ben Im not going to lie that is a great song! I have that from the 1996 Rhythm of the Games Olympic Soundtrack 
    My Mother used to play the Sound Track from the Movie (Peter O'Toole and Sophia Loren) and it left a mark on me but that was nothing until I sat up all night with a case of beer and the movie on VHS so I could rewind and memorize the words.
    Don Quiote is what keeps me from pulling a John Galt and the signature is there to remind me.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Axis in Pie Graph

    Hi,
    Can we show the X-Axis and Y-Axis for a Pie-Graph??
    I am able to display the Pie-Graph for a given combination through VO but in my display i am not able to see the X-Axis and Y-Axis lines.
    only the graph is getting displayed without the lines.
    I have tried by setting in property inspector the following properties to true.
    "Data Axis Scale From Zero" and "Display Data Markers" both to true
    But still i am not able to see the lines in my screen.
    Can i get some help from anyone regarding this???
    Thanks in advance

    No, there is no provision of showing x and y axis in pie graph. I am still not able to understand how do you want to incorporate and map date on x,y axis along with a pie graph in between. All you can do is to plot a bar graph separately to show the data along x, y axis.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Repeating Values on axis (SSRS Chart)

    Hi ,
         i have repeating values on axis .i am not sure sure how to get rid of this problem.i did workaround like changing interval property expression to iif(max(count(Fileld))<4,1,0) but it didn't help.i have attached  image file
    for reference .

    Hi Zamin,
    From your screenshot, it seems that the interval of the axis is 0.5, and the "Decimal places" was set to 0 in the “Number” tab, right? So 0.5 becomes 1 and 1.5 becomes 2. To avoid this issue, please set the "Decimal places" to 1 in the “Number” tab.
    If you have any questions, please feel free to ask.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Problem Axis Image on Graph

    Hi,
    I'm having a problem with displaying an axis on a graph. The graph is composed of layered panes and I need to display a mathematical formula on one of the axis. This was previously done using an image...
    A product evolution requires the modification of the fonts used when printing the graphs, obviously this will not be compatible with a static image. Does anyone have any ideas on how do display the text highlighted in the image shown, in a manner that allows for the changing of fonts in a dynamic manner?
    [ScreenShot001.jpg|http://www.maths.tcd.ie/~moroneyk/ScreenShot001.jpg|ScreenShot001.jpg]
    Thanks in advance,
    Kevin

    That is actually rather simple: you use animation techniques, but rather than using an animation loop to change on a set interval, you change as you are ready to show your new screen. You do this with a repaint() request.
    I usually like to implement this by doing my rendering to a BufferedImage, and then a paint override in my display object.
    public void paintComponent(Graphics g){
      g.super();
      g.drawImage(bi, 0, 0, this); //bi is a instance scoped BufferedImage that I use for rendering.
    }

  • SQL-Developer  4.0.0.13.80 Bug? No negative values for axis scale accepted

    I reported this problem already for the versions EA1 and EA2 of SQL-Developer 4 (4.0EA1 No negative values for axis scales in diagrams) but it still exists in 4.0.0.13.80:  Even if it is now possible to define the minimum and maximum values for the y-axis of a diagram, I found no way to enter negative values for the minimum value. Neither -100 nor (100) is accepted. The value always switches to 0. I have a report which shows values from -97 to 387. Automatic scaling sets the y-axis from -200 to 500 but I would prefer a scale from -100 to 400. How is this possible?
    btw.: the German translation for "scale" in the diagram settings is bad. It is translated with "Nachkommastellen" but it should be "Skalierung".

    In 4.0EA2 this topic is still not fixed.

  • Shift value of the month

    Hi all!
    Our client requirment is dividing Year into 2 parts
    We have substitution variable &CurrMonth="Jan" and we need make calculations in the next way
    Fix(&CurrMonth:&CurrMonth+3 month)
    one type of culculations
    enfix
    Fix(CurrMonth+3 month:EndofaYear)
    another type of culculations
    enfix
    Does anybody know how can I shift value of the month?
    How can I get &CurrMonth+3 month?
    Regards
    Sasha

    I realized that I need 3 Substitution variables
    &CurrMonth
    &CurrMonth+3
    and &CurrMonth+4
    because I should divided Year in 2 parts and variable &CurrMonth+3 included in all of them
    Fix(&CurrMonth:&CurrMonth+3 month)
    one type of culculations
    enfix
    Fix(CurrMonth+4 month:EndofaYear)
    another type of culculations
    enfix
    Can you tell how can I change my substitution variables automaticaly?
    Edited by: Softperson on 14/7/2009 11:20

  • How to get value of x-axis in dvt:graph ?

    Hi,
    How to get the corresponding value of the x-axis (timeaxis) when user clicks on a series in a graph (dvt:graph) ?
    Found following for the y-value but nothing for x-value:
    DataComponentHandle dhandle = (DataComponentHandle)handle;
             // Get the value displayed in the series
             System.out.println("Value: " + dhandle.getValue(DataComponentHandle.UNFORMATTED_VALUE));regards
    Peter

    Hi Peter,
    What graph type do you have?
    Is your time axis regular or mixed frequency?
    What do you get when you use the following code:
    public void processClick(ClickEvent event)
    ComponentHandle handle = event.getComponentHandle();
    if (handle instanceof DataComponentHandle)
    DataComponentHandle dhandle = (DataComponentHandle)handle;
    // Get the value displayed in the series
    System.out.println("Value: " + dhandle.getValue(DataComponentHandle.UNFORMATTED_VALUE));
    // Get the series attributes
    Attributes [] seriesInfo = dhandle.getSeriesAttributes();
    if(seriesInfo != null)
    for(Attributes attrs: seriesInfo)
    System.out.println("Series value: " + attrs.getValue(Attributes.LABEL_VALUE));
    System.out.println("Series name: " + attrs.getValue(Attributes.LABEL_ATTRIBUTE));
    System.out.println("Series value id: " + attrs.getValue(Attributes.ID_VALUE));
    System.out.println("Series name id: " + attrs.getValue(Attributes.ID_ATTRIBUTE));
    // Get the group attributes
    Attributes [] groupInfo = dhandle.getGroupAttributes();
    if(groupInfo != null)
    for(Attributes attrs: groupInfo)
    System.out.println("Group value: " + attrs.getValue(Attributes.LABEL_VALUE));
    System.out.println("Group name: " + attrs.getValue(Attributes.LABEL_ATTRIBUTE));
    Hope this helps
    Katia

  • Hide values to be displayed along Y-axis in line graph

    Hi friends,
    I need to generate a line graph using Oracle reports. But the values along y-axis should not be displayed. Can anyone help me how to hide displaying values along the y-axis
    Thanks,
    venkat

    Venkat,
    I am not sure if it can be hidden. I will update this thread if I find something. But for now, what you can do is, create a Rectangle over the y-axis values. Change the background color of the rectangle same as graphs color, and line color as 'No Line'. It will hide the values.
    Hope this helps.

  • X-Axis in Line Graph

    I have yet to figure out how to define a data range to use as my x-axis in a line plot. Sure, I could use an XY scatter (that can't have lines) but what if I have 4 Y variables? There is obviously something missing since, if you display the x category labels in the line graph, you get "untitles 1" etc.
    Bug or missing feature?

    From what I have found through trial and error, for a line graph, the column you want to be the titles on the X-axis has to be formatted as "text" when you highlight the data to plot. If it is a numeric value, Numbers will treat that column/row as a second series of data rather than X axis labels. Same goes for bar charts. Unfortunately it assumes the data is uniformly distributed so if you want lines connecting points on data with irregularly spaced x-values this sort of chart doesn't seem to be appropriate.
    I think they really need to add that functionality to the scatter plots as well.

  • Exeel 2 y-axis in xline graph

    Hi all,
    I'm a fresh user using office toolkit.
    I'm doing a project. I want to using office toolkit to draw a single graph in Excel but it has 2 different y-axis in 2 sides.
    LHS is % Relative Humidity, RHS is Temp(degC)
    They both have different ranges (%RH) range from 0 to 100%, degC from 0 to 50.
     Now I can present 2 data in seperate 2 graphs how about can LV 7.1 can draw the above data in single xlines graph?
    Thanks. 
    Regards,
    Robert

    Drop the X-Y Graph on to the front panel then right click the scale of the graph, select "Duplicate Scale" With the second scale displayed right click one of them and choose "Swap Sides" you can now edit the upper and lower values for each scale.
    To assign the two plots you need both plots showing in the Plot Legend box, right click Plot 0 and choose the Y Scale to be % Humidity then right click Plot 1 and set Y Scale to Deg C - Mike
    Attachments:
    dual scale graph.JPG ‏62 KB

  • Setup of axis in 3D graph

    Hi,
    I just have a (simple) question, I need to set up the right graph (the black one) as the right one (the white one).
    I want it to show three independent axis (x,y,z), going out from the center (0,0,0), just like in the white graph, but I really cant figure out how (its probably pretty simple),
    any ideas ? 
    Attachments:
    2 x 3D plot.vi ‏64 KB

    I can try :-) In another program (previous version), they had a graph like the one in the picture, that I attached. That graph had three variable values, one for x, one for y and one for z.
    So the graph was a kind of indicator for the three values, because he wanted to see them in x y z direction.
    I attach a picture of how he did it, but I cant find the same VIs "plot line" and graph in LV2209, so thats why I try to figure out how to do it.
    Attachments:
    3D old.JPG ‏26 KB
    3D old1.JPG ‏23 KB

Maybe you are looking for