Use drop-down menu to control plot visibility

Hello everyone,
I have simple data reading program that loads and parses a text file containing tab-delimited data. Currently, they are parsed and plotted in 7 separate graphs. I am trying to reduce this to 3 graphs where the user can select from a drop-down menu what they would like to be displayed. 
Eg. Graph 1 would have choices data A, B and C; Graph 2 would have data D, E, F and etc
The user would select on the drop-down box data A on graph 1 and data F on graph 2. 
Is there an easy way to this? I have read some ideas about plot visibility.
Thanks
Thomas

Each plot on a chart has its own Plot Visible property. One easy solution is to graph all the data, then set the visibility property for each line based on the selection from the drop-down menu. To set visibility for an individual plot, first set the Active Plot property to the plot that you want, then set the Visible property. You can do this in a single property node; make sure that the Active Plot property is at the top (property nodes execute in top-to-bottom order, and can be mixed read and write).

Similar Messages

  • Can't use drop-down menu

    the OS of my laptop is windows 8. the drop-down menu does not stay open. my anti-malware program cannot open.

    '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Start Firefox in Safe Mode]''' {web link}
    While you are in safe mode;
    Press the '''Alt''' or '''F10''' key to bring up the tool bar.
    Followed by;
    Windows; '''Tools > Options'''
    Linux; '''Edit > Preferences'''
    Mac; ''application name'' '''> Preferences'''
    Then '''Advanced > General.'''
    Look for and turn off '''Use Hardware Acceleration'''.
    Poke around safe web sites. Are there any problems?
    Then restart.

  • Cannot use drop down menue of app store screen becoming blank

    having problem to access drop down menue of app store i mean options under app store when selected the screen goes blank

    same here...everything else works though (i.e. music, books, movies, tv shows, etc.)
    However, if I search for a particular app by using the search field, the results show and I can then click on the result and access the app that way.
    It's been like this for the past 2 days.    

  • How to use drop down menu in JTables

    Hi, i'm trying to add an drop down menu to my jtable so that people can select a set number of texts from an enum type. How can this be accomplished?
    My current Code: /**
    * Bill Huang
    * Started: Nov 07, 2007
    * Dossier
    package packageSolo;
    import javax.swing.*;
    import java.awt.*;
    public class SpreadSheetGUI extends JPanel{
         private void debug(int x){
              //System.out.println(x);
         protected static Object[][] data;
         protected static int classroomAmount = 0;
         protected static JTable jtable;
         protected static String[] columnNames = { "Class Room Number", "Period One", "Period Two", "Period Three", "Period Four" };
         public SpreadSheetGUI(){
              super(new GridLayout(1,0));
              String input;
              int flag2 = 0;
              int flag4 = 0;
              int flag5 = 0;
              int flag8 = 0;
              input = JOptionPane
                        .showInputDialog("How many classrooms are there?");
               * see if the user wantes to quit at this point
              if (input == null) {
                   debug(4);
                   int exitint = 0;
                   exitint = JOptionPane.showConfirmDialog(null,
                             "Do you want to exit?", "Exit?",
                             JOptionPane.OK_CANCEL_OPTION);
                   if (exitint == 0) {
                        try {
                             System.exit(1);
                        } catch (SecurityException eb) {
                             System.out.println("exit");
              while (flag4 == 0) {
                    * this while loop with flag2 is for checking if the thing is of int
                    * class
                   while (flag2 == 0) {
                         * try to get a integer, check for a bad input class
                        try {
                              * parse, and if success set flag2 to 1 and break out this
                              * while loop
                             classroomAmount = Integer.parseInt(input);
                             flag2 = 1;
                             debug(2);
                        } catch (NumberFormatException ec) {
                             debug(3);
                              * ops user input was not a integer class
                             JOptionPane
                                       .showMessageDialog(null,
                                                 "Enter a positive integer only",
                                                 "Number Format is Wrong",
                                                 JOptionPane.ERROR_MESSAGE);
                             input = JOptionPane
                                       .showInputDialog("How many months are there?");
                              * see if the user wantes to quit at this point
                             if (input == null) {
                                  debug(4);
                                  int exitint = 0;
                                  exitint = JOptionPane.showConfirmDialog(null,
                                            "Do you want to exit?", "Exit?",
                                            JOptionPane.OK_CANCEL_OPTION);
                                  if (exitint == 0) {
                                       try {
                                            System.exit(1);
                                       } catch (SecurityException eb) {
                                            System.out.println("exit");
                    * this while loop sees if the integer is smaller than 0 so the
                    * array cannot be a real one
                   while (flag5 == 0) {
                        // numamountint = Integer.parseInt(numamount);
                        if (classroomAmount < 0 || classroomAmount > 12) {
                             debug(5);
                             JOptionPane
                                       .showMessageDialog(null,
                                                 "Enter a positive integer that is smaller than 12",
                                                 "Number Format/Size is Wrong",
                                                 JOptionPane.ERROR_MESSAGE);
                             input = JOptionPane
                                       .showInputDialog("How many months are there?");
                             if (input == null) {
                                  int exitint = 0;
                                  exitint = JOptionPane.showConfirmDialog(null,
                                            "Do you want to exit?", "Exit?",
                                            JOptionPane.OK_CANCEL_OPTION);
                                  if (exitint == 0) {
                                       try {
                                            System.exit(1);
                                       } catch (SecurityException eb) {
                                            System.out.println("exit");
                              * this while loop check for number format again
                             while (flag8 == 0) {
                                  try {
                                       debug(6);
                                       classroomAmount = Integer.parseInt(input);
                                       flag8 = 1;
                                  } catch (NumberFormatException ec) {
                                       debug(7);
                                       JOptionPane.showMessageDialog(null,
                                                 "Enter a positive integer only",
                                                 "Number Format is Wrong",
                                                 JOptionPane.ERROR_MESSAGE);
                                       input = JOptionPane
                                                 .showInputDialog("How many months are there?");
                                       if (input == null) {
                                            int exitint = 0;
                                            exitint = JOptionPane.showConfirmDialog(null,
                                                      "Do you want to exit?", "Exit?",
                                                      JOptionPane.OK_CANCEL_OPTION);
                                            if (exitint == 0) {
                                                 try {
                                                      System.exit(1);
                                                 } catch (SecurityException eb) {
                                                      System.out.println("exit");
                        } else {
                              * here the input is greater than 0 so it sets flag5 and 4
                              * then break out of the while loops
                             debug(8);
                             flag5 = 1;
                             flag4 = 1;
              data = new String[classroomAmount][5];
              jtable = new JTable(data, columnNames);
              jtable.setPreferredScrollableViewportSize(new Dimension(800, 600));
              JScrollPane scrollPane = new JScrollPane(jtable);
              this.add(scrollPane);
              this.show();
    }

            Object[] possibilities = {"1", "2", "3"};
            input = (String) JOptionPane.showInputDialog(null,
                    "Please choose the number of classrooms:",
                    "How many classrooms are there?",
                    JOptionPane.PLAIN_MESSAGE,
                    null, possibilities, "1");Edited by: Andre_Uhres on Nov 8, 2007 8:22 AM
    I thought you need a combo for JTable row set. Seems I misunderstood.
    See next posting.

  • Display normal text instead of drop down menu

    I have two tables. One is the customer particular, which has RaceID(int) as one of the field. The other
    table is Race, which has RaceID(int) and Race(char). Both of these tables are linked together.
    I have the following code generated from Ultradev when I am using Dynamic Elements Server Behavior.
    I will gonna do a search page, which list the value of Race of customer in normal text for each staff,
    not the drop down menu(but during insert page, I am using drop down menu to enter the data). How to
    do that?
    Codes:(This code will generate a drop down menu which compare the value in the customer particular and
    the race tables. If selected, display that one with the drop down menu.
    <select name="race">
    <%
    while (Race_hasData) {
    %>
    <option value="<%=((Race.getObject("raceID")!=null)?Race.getObject("raceID"):"")%>" <%=(((Race.getObject("raceID")).toString().equals(((((Matching_data
    = Matching.getObject("raceID"))==null || Matching.wasNull())?"":Matching_data)).toString()))?"SELECTED":"")%>
    <%=((Race.getObject("race")!=null)?Race.getObject("race"):"")%></option><%
    Race_hasData = Race.next();
    Race.close();
    Race = StatementRace.executeQuery();
    Race_hasData = Race.next();
    Race_isEmpty = !Race_hasData;
    %>
    </select>

    don't use <select>, use <input type = "text"> instead and you will get text box.

  • I'm trying to find a word processing app that is comparable with Microsoft word, that supports drop down menu's for filling out forms. Any recommendations?

    I'm trying to find a word processing app that is comparable with Microsoft Word, but can use drop down menu's to fill in forms? Any suggestions

    Microsoft Word for Mac
    OpenOffice
    NeoOffice
    LibreOffice

  • Photoshop and elements 13  Working in iPhoto Want to edit image using photoshop elements Did the following  IPhoto Preferences Advanced Edit Photos: In drop down menu chose in Photoshop Elements  Also control click and chose edit in external editor  Drop

    Photoshop and elements 13
    Working in iPhoto
    Want to edit image using photoshop elements
    Did the following
    IPhoto>Preferences>Advanced>Edit Photos: In drop down menu chose in Photoshop Elements
    Also control click and chose edit in external editor
    Drop down menu edit photos in external program>photoshop Elements
    Go to to the image I'm working on  --- selected the image, the clicked on edit. When nothing happened I double clicked the image. Still elements didn't open. Then I opened the Elements editor, went back to iphoto and tried the entire process again. the photo still didn't open on Elements 13 for editing.
    I have 3 Elements 13 books as well as looked on line--all my references say the exact same thing ---- iPhoto>Preferences>advanced>edit in external program>photoshop Elements
    I uninstalled and reinstalled both iPhoto as well as Elements.
    I spoke with application technical support.  There appears to be nothing wrong with my copy of iPhoto.  However there is no support from Adobe.  I waited for over 1.5 hours for chat support several days ago, and finally gave up.

    You are probably choosing the obvious file rather than the correct file as the PSE editor. The actual editor is hidden away inside the Support Files folder. The PSE file at the top level of the PSE folder in Applications is just an alias for the welcome screen and what you're describing is exactly what happens when you choose that. You want this one:

  • How do I double space a document using Pages There is NO Line Spacing control in the drop down menu in the format bar

    How do I double space a document in Pages. The instruction say to use the Line Spacing control in the format bar, but there is NO Line Spacing control in the drop down menu under Format. I'm writing a novel and I am having to manually double space after every line. It is **** when I am trying to edit my work.

    The computer is not too old (and neither are you ).   It may be better if you could upgrade it from 10.5.8 to 10.6 ... but that would not solve this problem.
    As both Paul and I have advised ... get yourself on Pages > go to the View menu and halfway down is the option 'Show Inspector'.   You'll end up with a panel like Paul showed you in his post of 08:42.   Let's see what you can do from there.

  • The "New Tab" function does not work either from the tab bar, the File drop down menu or using CTRL+T

    The new tab is visible on the the tab bar but clicking on it does not open a new tab.Neither can I open a new tab from the File drop down menu, nor the Ctrl+T method as indicated in the troubleshooting guide.

    Un-install the '''''Ask Toolbar''''' which many users have reported causing that problem.
    *http://support.mozilla.com/en-US/kb/Uninstalling+add-ons
    *http://support.mozilla.com/en-US/kb/Cannot%20uninstall%20an%20add-on
    <br />
    <br />
    '''You need to update the following.''' The Plugin version(s) shown below was/were submitted with your question and is/are out of date. You should update to avoid known security issues with the version(s) you have installed. Click on "More system info..." to the right of your question to see what was included with your question.
    *Adobe Shockwave for Director Netscape plug-in, version 11.5
    *Shockwave Flash 10.1 r102
    *Next Generation Java Plug-in 1.6.0_24 for Mozilla browsers
    #'''''Check your plugin versions''''' on either of the following links':
    #*http://www.mozilla.com/en-US/plugincheck/
    #*https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #*There are plugin specific testing links available from this page:
    #**http://kb.mozillazine.org/Testing_plugins
    #'''Update Shockwave for Director'''
    #*NOTE: this is not the same as Shockwave Flash; this installs the Shockwave Player.
    #*Use Firefox to download and SAVE the installer to your hard drive from the link in the article below (Desktop is a good place so you can find it).
    #*When the download is complete, exit Firefox (File > Exit)
    #*locate and double-click in the installer you just downloaded, let the install complete.
    #*Restart Firefox and check your plugins again.
    #*'''<u>Download link and more information</u>''': http://support.mozilla.com/en-US/kb/Using+the+Shockwave+plugin+with+Firefox
    #'''Update the [[Managing the Flash plugin|Flash]] plugin''' to the latest version.
    #*Download and SAVE to your Desktop so you can find the installer later
    #*If you do not have the current version, click on the "Player Download Center" link on the "'''Download and information'''" or "'''Download Manual installers'''" below
    #*After download is complete, exit Firefox
    #*Click on the installer you just downloaded and install
    #**Windows 7 and Vista: may need to right-click the installer and choose "Run as Administrator"
    #*Start Firefox and check your version again or test the installation by going back to the download link below
    #*'''Download and information''': http://www.adobe.com/software/flash/about/
    #**Use Firefox to go to the above site to update the Firefox plugin (will also install plugin for most other browsers; except IE)
    #**Use IE to go to the above site to update the IE ActiveX
    #*'''Download Manual installers'''.
    #**http://kb2.adobe.com/cps/191/tn_19166.html#main_ManualInstaller
    #**Note separate links for:
    #***Plugin for Firefox and most other browsers
    #***ActiveX for IE
    #'''Update the [[Java]] plugin''' to the latest version.
    #*Download site: http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)
    #**'''''Be sure to <u>un-check the Yahoo Toolbar</u> option during the install if you do not want it installed.
    #*Also see "Manual Update" in this article to update from the Java Control Panel in Windows Control Panel: http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates
    #* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
    #* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org/Firefox_:_FAQs_:_Install_Java#Multiple_Java_Console_extensions
    #*Java Test: http://www.java.com/en/download/help/testvm.xml

  • Drop Down Menu List Not Visible

    Hi
    I am using a Horizon menu across top of page for user to
    select from a list of pages to go to but for some reason the menu
    drop down list is not fully visible but rather appears behind other
    elements on the page such as a flash video and a google ad . does
    anyone know what is causing this or what setting i should set to
    force the drop down menu to appear over the rest of the elements in
    the page as you would want it do.
    thanks
    edward

    "egc2224" <[email protected]> wrote in
    message
    news:fum99r$2nb$[email protected]..
    > what is z indexing?
    http://www.tjkdesign.com/articles/everything_you_always_wanted_to_know_about_z-index_but_w ere_afraid_to_ask.asp
    Thierry
    Articles and Tutorials:
    http://www.TJKDesign.com/go/?0
    Keep your markup *clean* with these DW extensions and
    scripts:
    http://www.divahtml.com/products/scripts_dreamweaver_extensions.php

  • The Print function no longer seems to work in Firefox 6. When typing "Control P" or selecting Print from the file menu nothing happens. No error message, no drop down menu, nothing to select. Help!?

    I can't print, print preview, nothing. I have several printers associated with this computer, including an HP, and PDF creator - none of these appear in a drop down menu, there is no error message, yet these all function fine if I am not on the internet!

    No errors in error console. No effect using *. I tried using the dns name of my localhost both in the Firefox URL and in the javascript and I get exactly the same. I have spent a huge amount of time looking into this issue.
    One thing I noticed is that if I use the examples on the internet (http://arunranga.com/examples/access-control/preflightInvocation.html or http://saltybeagle.com/cors/) they work in the same browser. These examples however, are accessed through HTTP proxies.
    I am wondering if the issue has to do with using the same hostname just with different ports.

  • How can i get a drop down menu or check list control

    i want to give the user a choice between 7 options on the front panel. i want either a check list or drop down menu.thanks

    You can use any of the ring controls to generate a drop down list. The ring controls are found on the Controls >> Ring & Enum palette. You program the drop down items the same way with any of these controls. Type the first drop down item on the control. Right click on the control and select "add item after". The controls text field will blank out and you can enter your second item. Repeat for every item on the list you need to generate. After you are done entering items, click on the control with the application tool and you will see a drop down menu of all the items you entered.

  • Presence problem when using a drop-down menu

    I am trying to show/hide a table when a choice is made from a drop-down menu. It doesn't work until I make the same choice twice, then I get the expected result. The script is under Change and I have used it before successfully, albeit it has typically been using a check box. Is there an easy fix hopefully for this problem? Code below:
    if 
    (this.rawValue == 2){
    form1.Page1.OrderSection.OrderItems.Blower.presence
    = "visible";}
    else
    form1.Page1.OrderSection.OrderItems.Blower.presence
    = "hidden";}
    Thanks

    Drop-down lists work a little differently than expected; in the Change event the rawValue contains the previously selected text.  That's why it works the second time.  The current selection is contained in: xfa.event.newText

  • Using a "drop down menu"

    I would like to create a "drop down menu" so that the user can select from a list of options and based upon their selection, the rest of the Labview program will run with the option-specific parameters. Is there a way to do this using the "prompt user for input" icon, or...

    In LabVIEW 8.x, a popup menu can be associated with any controls/indicators. Just right click on control and go to Advanced...as shown below. You'll have access to a configuration window. The Run-Time shortcut menu is managed using the event structure.
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    right-click.png ‏15 KB

  • Drop Down Menu Selection - Make Other Drop Down Menus Visible

    I am having some trouble with a simple if-else statement. When a certain selection is made in a drop down box, I would like two other drop down menus to appear. (At runtime, they are hidden.) The current problem is that when I try and select anything in the drop down menu, it will only allow me to select this one option. (If I try to select anything else, it reverts back to the same thing every time.) If I set the "if" statement to trigger for something else, then that option is all it will display and so on. I have made plenty of these types of scripts in other areas of this PDF, but I can't figure out why it isn't doing what I want it to now.
    The "change" event is what I currently have this set to. I have also set it for the "enter" event with no change.
    if (this.rawValue = "Ankle/Brachial Index (ABI) - 93922")
    ABI.presence = "visible"
    TBI.presence = "visible"
    else
    ABI.presence = "hidden"
    TBI.presence = "hidden"
    If there's a better way to do this than the method  I am attempting to use, please don't hesitate to suggest it. I am definitely open to learning new methods.

    Thanks, man! I knew it was something simple I was missing. Those are my favorite kind of fixes.

Maybe you are looking for