How to adjust plot names visibility in the legend of a XY-graph automatica​lly

I have a XY garph that shows 3 plots. Sometimes I need to close some plots on the graph. I can do it. But I also want to delete the plot name on the legend of the graph too, I could not do it. How can I do it? The program is attached.
Egemen
Solved!
Go to Solution.
Attachments:
P-h diagram maker representation.vi ‏29 KB

The solution is actually a bit more complex than you may expect, since you have to change both the plot and the plot characteristics.  Attached is something that should work, although it is not very optimized and has some momentary, expected, display glitches.
I do not have LabVIEW 2009 on my development computer, so I edited it in LabVIEW 2011 and saved for previous.  I don't think I used anything new, so it should work.  Let me know if you need more info.
This account is no longer active. Contact ShadesOfGray for current posts and information.
Attachments:
P-h diagram maker representation-3.vi ‏26 KB

Similar Messages

  • How to change datasource name based on the partition in configplan

    Hi
    Can any one please give me some solutions regarding how to change datasource name based on the partition in
    configplan.
    can't we do this in configuration plan?

    If you want to change template based on parameter. you have to use below syntax
    v_layout boolean
    V_LAYOUT:= FND_SUBMIT.add_layout(template_appl_name => 'SQLAP' -- application short name
    ,template_code => 'HUBAPAPN' -- template name
    ,template_language => 'en'
    ,template_territory => '00'
    ,output_format => 'PDF');
    Above can be used in plsql stored procedure before submitting Concurrent Program (Bi Publisher report) or may be you can try to add this code in Oracle reports after report or before report trigger
    Thanks
    Kamalakar

  • How to specify file name while invoking the GET_ZIP_BUNDLE service

    Hello.
    The GET_ZIP_BUNDLE service by default generate zip file with name "Bundle". I wanted to change this name runtime, that is while invoking this service. How can I do it?
    The class ziprenditions.ZipRenditionsHandler most probably handle this service by the method createRenditionBundle.
    There I saw a line:
    downloadName = LocaleResources.getString("csZipRenditionBundleName", this.m_service);I have tried to print the value of csZipRenditionBundleName and I got "Bundle". I am wondering is there any way to set a value to this message key?
    I have tried this idoc function:
    <$createRenditionBundle='some_name'$>before invoking the service. But this didn't work.
    Also I have tried to change it from Java class, and for that I have defined a custom service and did:
    LocaleUtils.encodeMessage("csZipRenditionBundleName", null, "JYM");But this also not working.
    What I want is to get the zip file with the name which is the same to the files it is archiving.
    For more information, here is how I am invoking the GET_ZIP_BUNDLE service:
    I have defined a form element:
    <form action="/cs/idcplg" method="POST" id="zipBundleForm" name="zipBundleForm">
       <input type="hidden" value="GET_ZIP_BUNDLE" name="IdcService">
       <input type="hidden" value="pkg:dDocName,pkg:dID,pkg:Rendition,pkg:RevisionSelectionMethod,pkg:AuxRenditionType" name="bundleKeys">                            
    </form>And I have a button with id downloadContent and I have attached the following JavaScript with it:
    $('#downloadContent').click(function (event){
       event.preventDefault();
       var formId = "zipBundleForm";
       var counter = 0;
       var renditionType = "";
       $("#zipBundleForm").find(":hidden").each(function() {
          if($(this).attr("name").startsWith("pkg:"))
             $(this).remove();     
       $("#downloadContentForm").find('input:checkbox:checked').each(function() {
          renditionType = $(this).val();
          $(".thumbnails").find('input:checkbox:checked').each(function() {
             if($(this).attr('data-type') == 'image'){
                createHiddenInputElement(formId, "pkg:dDocName" + counter, $(this).attr("name"));
                createHiddenInputElement(formId, "pkg:dID" + counter, $(this).attr("id"));
                createHiddenInputElement(formId, "pkg:Rendition" + counter, renditionType)
                createHiddenInputElement(formId, "pkg:RevisionSelectionMethod" + counter, "Specific");                                             
                counter++;     
       $("#zipBundleForm").submit();     
    var createHiddenInputElement = function(formId, elementName, elementValue){
       var newElement = document.createElement("input");
       newElement.setAttribute("type", "hidden");
       newElement.setAttribute("name", elementName);
       newElement.setAttribute("value", elementValue);
       $("#"+formId).append(newElement);
    }Thanks in advance.

    if you want a fixed bundle name other than "bundle", you can override the localization string entry 'csZipRenditionBundleName' in a component.

  • How to get he names of all the local drives that are present in hdd

    Hi ABAP Experts,
    I want to get the names of all the local drives that are present in hdd on local system using
    ABAP. Is this technically possible. If so how.
    Thanks & Regards,
    Aexandr Ciunchik

    Hi Alexandr,
    My workaround.
    REPORT zztest.
    DATA : len          TYPE i,
           off          TYPE i,
           directory    TYPE string,
           result(1).
    len = STRLEN( sy-abcde ).
    DO len TIMES.
      off = sy-index - 1.
      CONCATENATE sy-abcde+off(1) ':' INTO directory.
      CONDENSE directory NO-GAPS.
      CALL METHOD cl_gui_frontend_services=>directory_exist
        EXPORTING
          directory            = directory
        RECEIVING
          result               = result
        EXCEPTIONS
          cntl_error           = 1
          error_no_gui         = 2
          wrong_parameter      = 3
          not_supported_by_gui = 4
          OTHERS               = 5.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      IF result EQ 'X'.
        WRITE : / 'Drive : ',
                  directory.
      ENDIF.
    ENDDO.
    Regards,
    AS

  • How to adjust webpages to fully fit the C470 screen

    Hi all
    Appreciate any guidance on how to adjust the size of a webpage to fully fill the 21.5" screen of C470. Enlarging by Ctrl+ or Fullscreen F11 won't help as the zooming originate from the centre outwards resulting in the truncation of the height of a webpage. Thanks in advance
    Regards
    kh

    Doesn't always work the way you think it should but you could try dropping the Broadcast Safe filter on the entire clip.
    You could also just cut the clip where the brightness first appears and add the 3 way Color Corrector. Adjust it to where you like it and then add a disolve between the clips. (may or may not do it for you depending on how the bright spot comes into frame, but it's a fast workaround) Could keyframe the 3 way in if you like.
    There are other things you can do with the 3 way to limit it's effect but to get a grip on it you should probably refer to the manual.
    rh

  • How can I plot multiple channels on the same figure?

    My inputs are:
    x axis : 1-D array
    Y axis : 2-D array consisting of data from several channels, where every row contains data from one channel (1-D array)
    I would like to plot several channels vs one with the legend etc..
    Attachments:
    dummy.vi ‏16 KB

    I have created an example which -
    - takes an independent X axis data
    - takes 2D Y data
    - takes 1D Y data
    Displays all on an XY Graph
    Do Let me know if it helps.
    Sandeep
    Attachments:
    dummy_with_XYGraph.vi ‏46 KB

  • Customize the legend of a pie graph to show only one series

    Is there a way to show only one series in the legend though the pie graph displays more than one series?
    Any help is greatly appreciated
    Thanks
    KK

    Here is an example that changes the scale of a graph. I think it is what you are looking for. Post back if it is not.
    Bob Young - Test Engineer - Lapsed Certified LabVIEW Developer
    DISTek Integration, Inc. - NI Alliance Member
    mailto:[email protected]
    Attachments:
    Update_graph_scale.vi ‏40 KB

  • How do you plot multiple curves on the same graph when using a while loop?

    I am writing a program that will plot the IV Output chracterisitcs curves for a MOSFET transistor. I have two sweep variables Vg and Vd. For each Vg valve selected, Vd is swept from its start to stop voltage creating a graph for that Vg valve. Both of the sweeps are done using while loops. Ideally I would like to display all of the Vg plots on the same graph while having the ability to do real-time graphing. Can anyone help me figure this problem out? I have attached my program. Thanks!!
    Tammy
    Attachments:
    outputfin2.vi ‏165 KB

    Hi Tammy & Tica T,
    As far as I see it - this thread is a very bad version of already existing bad version......
    http://forums.ni.com/ni/board/message?board.id=170&message.id=127857
    I expected, that an Applications Engineer from NI knows something about  a Transistor and how an Output characteristic looks like !!  Take a look to a typical Transistor Datasheet ( e.g. n-channel MOSFET) - you will see, that there is no relation of ID vs Time like in your example ( values vs time )  but  IDrain vs VDrain at different VGate's ( no relation to Mr. Bill Gates ).
    Find attached a vi, that in general does what you need - drawing of  curves vs x-axis (XY-graph in use)  - in test_sweep.zip.  And that you geet an impression, how it might be done ...... dynamic Output characteristic of a Transistor with Standard Equipment of a Lab ( Scope + Generator + Power Supply ) find in addition a Frontpanel - picture. One of the interesting points here is - the self-heating effect; visible on ch3 of scope - 5µs Pulse is already a very long time...... This measurement was done in order to compare with our own Transistors......... 
    Hope this helps a little bit to understand, what we are talking about.
    Regards
    Werner
    Attachments:
    test_sweep.zip ‏358 KB
    dynamic Transistor char.png ‏65 KB

  • How to create package name  what is the transaction code for creation

    Hi,
    I want to create the package and also put that package in my program, how to put the package already saved program.

    Hello Rajyalakshmi
    You do not put a package to or into a program but <b>ASSIGN </b>a report to a package. To reassign a report to a new package (e.g. from $TMP to z-package) call transaction SE80 and right-click on the report name in the tree display. Choose the following function in the context menu:
    Other Functions -> Change Package Assignment
    Regards
      Uwe

  • How to change button names linked with the 'connect command?'

    Hi,
    I have linked a button in the sequence view to the Exeution entry point 2 (Single Pass) using the 'Connect command'. The button now displays 'Single Pass' as its caption name while running. I want to give a custom name to this button, but it should still be connected to the single pass function. How can rename it?
    Regards
    Gopal

    Hi,
    see this link: http://forums.ni.com/ni/board/message?board.id=330&message.id=7318&query.id=380755#M7318
    You will find the Text for the buttons in one of the ini files. Use the CustomStrings.ini to define your new text, which will override the text defined in the other ini file located in the NI folder when the Operator Interface or SeqEditor first launched and loads the various resources.
    Hope this helps
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • How to adjust printer page margins on the officejet 6700

    How do you adjust the page margins on an Officejet 6700 premium All in One printer. I just bought and set up.
    Setup and install went well and every thing seems to be working. I have looked in the set up software and have yet
    to find any thing on setting page margins. The issue arose when I printed an email and the right edge of it did not
    print. 
    This question was solved.
    View Solution.

    As I understand it this has a lot to do with the originators message and format (an example here of users with similar issues). It appears html in the messages can cause this and things like scale to fit may not help. Are you able to export the email and open within word or similar program for printing? 
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • How can I plot multiple curves using the XY graph?

    Hai,
    I want to plot  XY graphs for 2 diffrent datas in a single XY graph , to compare both the graphs, how to do. i attached my file & vi
    thanks
    sasi  
    Attachments:
    vi3.zip ‏55 KB

    Okay...so if I descide on rewiring my layout and not saving the entire array, how big is the buffer? because I want to be able to see the whole graph and be able to zoom and return to full view during runtime (possible right now).
    Also, you mentioned I could plot the 2D data directly? without adding timestamps to each Y-value? Will it only buffer one timestamp instead of my solution right now that saves as many timestams as I have channels in an array? Maybe the best would be to keep my value-array and then just add timestamps to the last values and then pass it to the XYgraph? If the buffer can handle that many values that is.
    If I were to abandon buffering the entire array (would be real nice indeed, since it frees up a lot of memory), I then need something to call on excel to import my semicolon separated textfile at the end. (textfile logged separatly) Right now I just call a new sheet and insert my array values.
    (look at last 2 frames of VI)
    Attachments:
    Untitled 11.vi ‏273 KB

  • How to adjust brightness of part of the screen of shot video

    Hi,
    I have a video I am editing and for the most part the brightness and contrast levels are fine. But when I pan to a LCD display which is part of the video, the brightness is way too high. I can't redo this clip, but am wondering if there is a reasonable way to apply a filter which just lowers the intesity of the LCD screen while leaving the surrounding areas alone. It would sort of be like the concept they chroma keying does (in a loose sort of way).
    thanks!
    'mark

    Doesn't always work the way you think it should but you could try dropping the Broadcast Safe filter on the entire clip.
    You could also just cut the clip where the brightness first appears and add the 3 way Color Corrector. Adjust it to where you like it and then add a disolve between the clips. (may or may not do it for you depending on how the bright spot comes into frame, but it's a fast workaround) Could keyframe the 3 way in if you like.
    There are other things you can do with the 3 way to limit it's effect but to get a grip on it you should probably refer to the manual.
    rh

  • How to provide Tab Name programatically for the new Tab created in Tabstrip

    Is it possible to customise the name of the tab for a newly created tab in the tabstrip?

    Yes, it is.
    Declare a global data with the same name as your tab, type c, with the same length (look at the tab attributes in the screen painter).
    Change that in your PBO.
    You're done.

  • How to adjust a video to match the resolution of the existing composition?

    i am using adobe after effects cs6.

    You can scale to fit horizontally by selecting the layer in the timeline and adjust the scale property or use the keyboard shortcut Shift + Ctrl/Cmnd + Alt/Option + H.
    If the video is larger than the composition you should be good to go but you may be able to improve the look of the scaled down video using unsharp mask. If the video is significantly smaller than the composition you might want to use a 3rd party plug-in like Red Giant Instant HD.
    After Effects CC introduced Detail Preserving Upscale which also helps with the upscaling problems.

Maybe you are looking for