Autoadjust scale limit on plot, with offset

Hi,
I have a plot and the y scale is set to be scaled automatically. This
is what I want. However, the space between the current highest value of
the graph being plotted and the current highest value on the y scale is
too small. Is there away to give it an offset?
For example, if a constant value of 17.8 is being plotted, the highest
value shown on the y scale will be 18. Could I force it to be, say,
20?  that would be 20 - 17.8 = 2.2
So for example, can I set a permanent offset of 2.2 for this separation?
I hope this is not too confusing... Thanks!

Sure. First, check to see if Loose Fit is checked for the Y axis (right click on graph, Y Scale>Loose Fit). With this checked, it might be enough for your needs. Otherwise, you can use a property node to autoscale the Y axis once, then get the YScale.Maximum, add your offset, and write it to YScale.Maximum.
Message Edited by Dennis Knutson on 03-30-200609:23 AM
Attachments:
Set Y Max.JPG ‏19 KB

Similar Messages

  • 2d contour plot with variable x,y spacing

    Hi
    How do I create a 2d contour plot with the the x-y values spaced at irregular intervals? Intensity plots appear to require equally spaced data.
    Any ideas
    Thanks
    Willem

    Hi Willem,
    You are correct in saying that intensity plots require regularly spaced data.
    The easiest way to get round this is by padding out your data so that it is regular.
    Does your data have a common multiple, if so you can simpley scale it by that factor to make your data regular.
    Emma R
    NIUK & Ireland

  • Problem with offset values

    Hi Experts,
    I have a problem with offset values. I have create a variable on OFISCPER, it's characteristic value, indivdual value, mandatory and ready for the input. I need to show the varibel period and the l previous period and so on till 12 periods. I used the offset values (-1, -2, etc.) but when I execute the query I can show just the variable period and the period previous I don`t see. The query is based on multiprovider and don´t has filters. Can anyone help me?

    Leonel,
    You may nt need to have 12 columns in the query designer.
    You could include the keyfigure and restrict it to the variable and create the offset for the 12 periods
    Check this http://help.sap.com/saphelp_nw04/helpdata/en/00/e8d13f7fb44c21e10000000a1550b0/frameset.htm
    -Doodle

  • Same old "how to limit history" question with FF 27.0.1

    Windows 7 Pro., FF 27.0.1, Add-Ons Adobe and Flash (and it's auxiliaries)...just the basics. My box is a server as well as used for more ordinary tasks...email, browsers, document editors, etc, so it is always "on" and never in "idle." Therefore the add-ons that do these things don't do anything on my box.
    This is, I know, is an old question, but unresolved, in my opinion. I revive it from this post:
    https://support.mozilla.org/en-US/questions/799503?fpa=1
    First let me say I consider Firefox the best browser period. I like Mozilla's and Firefox's essential philosophy of user customization and control, while respecting their need to insure security and stability.
    OK, the question is obvious from the title, How can I limit the history with Firefox? I have observed more recently where the enabling and disabling of JavaScript from the preferences options was removed. I read the Bugzilla and Firefox rationale and it was not difficult for me to open a about:config tab next to a tab containing a page I was working on so I could see how the page rendered without JavaScript. Once you knew how, it was only slightly more difficult than using the preferences options...so that does not really bother me.
    The limiting of history is implied in the browser itself where, if you open up the history window, you can see your history and (for me) see an "older than six months" option which if you mouse over and right click will get a "delete" option. I think everyone who tries this crashes their browser and if anything is removed when you finally get it back up, it will be your cache.
    I know that the amount of history is set in about:config in the setting "places.history.expiration.transient_current_max_pages" as an integer. From reading many articles here in "support", and from personal trial, I find that though that number can be increased, it can't be decreased. If one does, it reverts back to the old setting as soon as Firefox is re-opened.
    I have read the blog referenced in the first link above: http://blog.bonardo.net/2010/01/20/places-got-async-expiration and it even seems outdated, containing references to places.history.expiration.max_pages, which is not the file in about:config in 27.0.1
    In https://bugzilla.mozilla.org/show_bug.cgi?id=643254 I read the debate/discussion about these changes where Marco Bonardo steadfastly holds to his position while I find the comment by al_9x discussing the issue with him; "You have removed functionality that people use and like, that's been in Fx from its inception. It is you who need to justify its removal. And your justification of "nobody really wants to expire history" is a lie, people do and I explained why", to represent my feeling completely. I have no need or desire for history longer than 3 months. It is high-handed to limit Firefox users ability to limit their history. And no...I did not create yet another Mozilla account and "vote."
    There must be some way I and other users can limit (or increase) their history. So I am asking "How"? If it is currently impossible, by design itself, to do so then I find that a very disturbing trend away from the whole philosophy of user control and customization.
    If I am missing something, please inform me. Please *don't* send me a bunch of the standard "help" articles, for I have read them all. So that's my question.
    Regards,
    Axis

    Thank you cor-el!
    I have added the new integer places.history.expiration.max_pages and when I added it places.history.expiration.transient_current_max_pages changed its value to equal what I had put in places.history.expiration.max_pages.
    This is all I needed, I believe. I did not know I was to ''create'' the new integer, now I know how to do so and to your credit you I would like to say to all the Firefox users that this is the best solution I have read to the oft asked question, "How Can I Limit my History in Firefox."

  • How to plot with multi colors in a single XY graph?

    Hi,
      I'm making hesteresis measurements. In this case, I collect data while sweeping voltage first from 0 to 2V, and then back from 2V to 0V, and the data are plotted in a single XY graph. In the XY graph, I want forward sweep plot of one color while the reverse sweep with another color so I can easily make comparisons. And I want to see the data real time. I tried to wire "plot color" in "property node", but this will change the color globally and can not be applied to a section of data. Can anyone advise me how to do this? Thanks!
    Guanglei 
    Solved!
    Go to Solution.

    Hi Graham,
      Thank you very much for the reply, I really appreciate it.
      However I don't quite understand your descripton. Yes I do spit my data in two arrays, one for forward sweep, and the other for reverse sweep. I can plot with different colors in XY graph by appending several XY graphs into one, but by doing this I can not see the data real time. I quickly made a vi to demonstrate my problem,  hope this will give you a better understanding. Thanks. 
    Guanglei
    Attachments:
    demo_GL.vi ‏108 KB

  • Replacement path variable with offsets

    Hi experts,
    I have the requirement to report receivables (open items) historically by fiscal year / period.
    More precisely, each period should show the open items that are open at the end of the period.
    Example:
    001.2010 (shows open items from 31.01.2010)
    002.2010 (shows open items from 28.02.2010)
    ...etc.
    The idea is that the user enters a fiscal year/period using a manual entry variable.
    The open items should be calculated as follows:
    KF: Amount
    Posting Date <= Variable
    Clearing > Variable or unassigned
    Variable is a replacement variable that is replaced by attribute "Date To" from the user entry Variable (Fiscal year period)
    E.g. if the user enters 008.2010, then this value is automatically replaced by 31.08.2010.
    Generally this works.
    However, to view the values for the last 12 months, a structure is needed consisting of 12 elements with offsets in order to show the 12 months prior to the selected period (e.g. 001.2010 - 002.2010 - 003.2010 ....etc.)
    The problem is that the replacement only considers the user's variable entry and ignors the offsets.
    Example:
    User enters 008.2010.
    In the column strucure I show 3 months 006.2010, 007.2010, 008.2010.
    Then all columns would show items open on 008.2010 - the offsets are ignored.
    Any idea, why this happens and how it can be resolved?
    This problem has given me a headache for days.
    Your help is much appreciated.
    Thanks and regards,
    Alex
    The user should be able to enter a fiscal year / period and

    take an e.g.
    u have characteristic say ch1
    u want to restrict it with replacement path variable
    first of all create a variable var1
    click what it is based upon for e.g. 0calday, 0material etc.
    make it user entry variable
    select single or multiple entry
    make it mandatory
    save it and hit okey
    click on ch1
    right click and say restrict
    in new window create a new variable
    give its name and technical name
    processing path is replacement path
    go to next tab of replacement path
    select several ooptions
    replace variable with another variable
    select a variable called var1
    change the offset length and offset start with different parameters.
    hit okey
    this way u have restricted ch1 with replacement path variable var1
    now when u run report u have to enter value of var1
    which will then further feeded to ch1
    this way u can create replacement path variables at lots of instances and then u can always feed the value from var1 at different time
    make sure as this ur requirement is date
    try to use 0calday as reference infoobject all the times....

  • Customer Exit Variblae with Offset

    Hello Everyone,
    Can any one tell me whether we can use offset on Customer Exit Variable or no?
    I have
    Variable 1. Calmonth_01 in first Column which is also input varialble.
    Variable 2. Calmonth_02 is second Columnt which is Exit  Variable on which offset is not applied.
    From third Column i m using second variable with offset.
    According to me it has to work. but i m report it is not working.
    Plz help.

    Hi,
    If you have any Input Variable on 0CALMONTH and based on the input month if you want to display the reports either + or 1 Months then you can use Off Sets it will work, no need to go for Customer Exit Variables.
    1. Create a User Entry Variable on 0CALMONTH eg name of variable = ZMNTH
    2. Restrict the Keyfigure with ZMNTH in column one.
    3. Restrict the Keyfigure with ZMNTH-1 in column two, it will display Previous month data based on Input month
    4. Restrict the Keyfigure with ZMNTH+1 in column three, it will display next month data based on Input month
    Steps 3 & 4 are using Off Sets only.
    For any Customet Exit variables see
    https://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
    Thanks
    Reddy

  • Polar plot with legend points

    I can put one Polar Plot with legend in points?
    Case:
    I have magnitude and phase arrays for build polar plot and i want put rotation legend in each point of measurement. Then we have 3 arrays (magnitude, phase and rotation), but rotation need stay like legend for each point.
    Somebody already do it?
    thx for tip.
    Leonardo de S. Cavadas
    Maintenance Engineer and Inspection - Bureau Veritas do Brasil
    Engineer Metallurgist with emphasis in Advanced Materials
    Technologist in Computer Science

    Unclebump,
     i do one simple modification to be possible add rotation value to image, isn't better solution but i think that i'm near to solution way. Look these VIs, Re-link is necessary.
    Leonardo de S. Cavadas
    Maintenance Engineer and Inspection - Bureau Veritas do Brasil
    Engineer Metallurgist with emphasis in Advanced Materials
    Technologist in Computer Science
    Attachments:
    Plot Polar Data with Legend.vi ‏74 KB
    OtherPolarPlot.vi ‏67 KB
    Polar Plot with Legend.vi ‏75 KB

  • Problem with offset length

    Hi,
    i have a problem with offset length please see below code and suggest :
    data: content_new                LIKE soli-line.   "It has a length of 255 charecter
    content_new = 'MTE:SD0\nwssd01_SD0_00\CPU\CPU_Utilization'.
    content_new = content_new+4(251).
    it is giving result:
    content_new = SD0\nwssd01_SD0_00\CPU\CPU_Utiliza  "it is removing last 4 charecter of UTILIZATION also
    while i need :
    content_new = 'SD0\nwssd01_SD0_00\CPU\CPU_Utilization'.
    can anyone plz help me?
    regards.
    Moderator Message: Duplicate Post.
    Edited by: kishan P on Oct 28, 2010 9:44 AM

    You can find string length first. Subtract length by 4,  Then use like new = str+4(len), use condense if required.

  • Binding with offset

    hello,
    I want to know if it is possible to do a binding from a workflow container to a task container with offset IN the binding itself.
    For example:
    ZMM1014+3(4) -
    > to task container: 1014
    I know a can call a method to do this for me but I would like to know if you can use this directly in the binding itself.
    Gr. Bert

    Check from Binding option whether you can achieve.
    Thanks
    Aghadip

  • How to print a plot with two colors Without using two plots

    Hello everybody,
    Escuse my English (poor Frenchies....)
    I'm working with VB6 and I will need to print a plot with two colors (Some values greater than a trigger for example, ...)
    I was looking for some help to discover if that thing is possible without using another plot, this is what I'm already doing, and it do not satisfy me (and my boss....)..
    Thank for your Help.
    Julien

    Hi Julien,
    I have found on the different link to make that you want.
    This first link is on National Instrument site, the first is general, and second provided information about : How Can I Programmatically Print Out a ComponentWorks Graph Object?.
    http://digital.ni.com/public.nsf/websearch/81D87CB2A5BF6C11862569E4008240FE?OpenDocument
    http://digital.ni.com/public.nsf/websearch/dc3430165bc916c586256317006f8cc9
    Links below are on the web, and explain how do you can print a graph on Visual Basic. (the first is French link  )
    http://khany.developpez.com/tutoriel/mschart/
    http://www.programmersheaven.com/zone1/cat378/18546.htm
    Regards,
    Message Edité par Christophe S. le 12-27-2005 01:51 PM
    Christophe S.
    FSE East of France І Certified LabVIEW Associate Developer І National Instruments France

  • Xy scatter plot with 2 y axis how to?

    I am interested in an making an XY scatter plot with time points as
    the x axis, and with 2 different y axis.
    As I mentioned, the x axis
    will have the different time in min., that the data was collected, and
    the 1 y axis would contain a particular measurement of the sample, and
    the other (2nd) y axis would contain a different type of measurement
    of the same sample. The problem is that I can't see how to do a 2 y
    axis XY scatter plot.
    best regards
    Peter Valencic

    Hi Peter,
    This is one of the most requested features for the JFreeChart project. It hasn't been added yet, but it is very near the top of the to-do list.
    Regards,
    Dave Gilbert
    JFreeChart Project Leader
    P.S. For anyone who is interested in JFreeChart, the link is:
    http://www.object-refinery.com/jfreechart/index.html

  • How to use " PERFORM ", STATEMENT WITH OFFSET

    hI,
    How we use Perform statement with offset, like
      Example:   " PERFORM READ_SEGRELEASE USING INT_EDIDC+11."
    My requirement is to use Perform with Automatic length declaration.
    Automatic length declaration in PERFORM statement
    Kindly Explain and Provide some Example programm written in this situation.
    Thanks,
    P.N.Kumar

    Hiere is an example of what you probably require:
    DATA:
    lv_offset        TYPE syoffi,
    lv_length        TYPE flength,
    lv_field          TYPE string.
    lv_field  = 'This is my value: hello world'.
    lv_length = 5.
    lv_offset = 18.
    PERFORM read_segrelease USING lv_field
                                                            lv_length
                                                            lv_offset.
    *&      Form  READ_SEGRELEASE
    *       text
    *      -->P_LV_FIELD  text
    *      -->P_LV_LENGTH  text
    *      -->P_LV_OFFSET  text
    FORM read_segrelease USING    p_lv_field         TYPE string
                                                         p_lv_length      TYPE flength
                                                         p_lv_offset      TYPE syoffi.
      DATA:
      lv_result    TYPE string.
      lv_result = p_lv_field+p_lv_offset(p_lv_length).
      WRITE: / lv_result.
    ENDFORM.                    " READ_SEGRELEASE

  • ByteArrayInputStream read with offset

    I have a ByteArrayInputStream that I want to read from specific position after initializing. So for example:
    byte [] bdata = //Some data
    ByteArrayInputStream bt = new ByteArrayInputStream(bdata);
    I want to be able to point to position 4 and read 8 bytes and then read 3 bytes pointing to position 6 starting from the next of last read byte, in this case position 12, since last read was 8 bytes from position 4. So if I have
    123456789ABCDEFGHIJKLMNOP
    first read would get me: 456789AB
    second read would get me: HIJ
    I was thinking of using read with offset but that is not quite working properly. May be I could use skip but I am not sure how it works.

    Are you reading binary data, or are you reading text? If it's text, why are you storing it in a byte array?
    If it's actually binary data, then look at the read(byte[] b, int off, int len) method, it lets you read len bytes from the off starting position. It stores what it reads in the b array.
    If it's actually text that you're trying to read, then use the Reader class instead. It's much like an InputStream, but designed for text instead.

  • Playing around with cfschedule, getting a time limit error - even with requesttimeout

    Hello, everyone.
    This isn't critical, I'm just playing around with the cfschedule tag.  But it's still annoying to get a time limit error, even with the requesttimeout attribute set to 10800.
    <cfschedule action="run" task="Collection_Daily_I" requesttimeout="10800">
    Less than one minute after loading the page, I get:
    The request has exceeded the allowable time limit Tag: cfhttp
    ^_^

    I tried something else here. I noticed that on the last circuit you posted you had a resistor tied from ground to the clock line in addition to the one tied back to VCC. This would be R4 in the origianl schematic. I also noticed that in this circuit I saw no double tripping of the clock signal but it did have a sloping rising edge. I am assuming this is what you are refering to as being dirty. Not a clean square wave by any means.
    I removed this extra resistor from the clock line and re-added the inverter and this seemed to clean up this slope. I do, not know what  purpose you may have had for this resistor but I believe that to be causing the sloping edge. I was incorrect about the inverter. I just know that in the original configuration I didin't get the double clocking when it was removed, but I failed to notice the sloping of the edge of the signal. Now with this new information I hope this will get it the way you want it.
    I will repost the circuit with my modifications. Let me know what you think. Just so you will know I am using asll default settings with the exception of the digital setting which is set to REAL.
    Here it is:
    Kittmaster's Component Database
    http://ni.kittmaster.com
    Have a Nice Day
    Attachments:
    ring_glitch possible solution_again1.ms10 ‏888 KB

Maybe you are looking for