Single Plot fill with different colours

Hi;
Any suggestions on how I could fill a single plot with 2 different colours.? Basically I have a single sine wave trace. I want to fill the plot on the positive gradient of the sine wave with red and the negative gradient with green. I need to do this with measurement studio and VB6.
Thanks.

Hi Dayaa,
There is no straightforward way to do this. You will need to use two plots. To plot these plots you will
need to use the PlotXY function instead of the PlotY function. That
will allow you to specify the X values for each plot so they show up
properly. This forums post should help you out:
http://forums.ni.com/ni/board/message?board.id=231&message.id=692&requireLogin=False
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies

Similar Messages

  • How to create a front panel display that lights up with different colours depending on its input signal?

    I am doing a project where I have this array which has different voltage outputs for each grid. How do I create a front panel object that lights up with different colours depending on the voltage input or is there already such a pre-built function?
    In addition, I wish to display these in an array on screen. Is there any pre-built function for this?

    Repulse wrote:
    I am doing a project where I have this array which has different voltage outputs for each grid. How do I create a front panel object that lights up with different colours depending on the voltage input or is there already such a pre-built function?
    The simplest way would be an intensity graph. It gives you a 2D grid where each grid point is colored according to the value of a 2D array. The Z axis color ramp determines the color.
    My second choice would be an array of colorboxes. (They could even be made to look like LEDs (see image, if course you can leave them square too), All you need is a scaling function thap maps voltages into a color ramp lookup table with an 8bit index)
    (Using booleans and color property nodes is relatively clumsy. Booleans are meant for two states because the value is boolean. Since array elements can only differ in value, and not in properties, it will not even work. Color boxes have a color data type which is much more appropriate for this case)
    LabVIEW Champion . Do more with less code and in less time .

  • HT4648 So if you import a numbers document from a mac to iPad which has a conditional format rule such as a cell with a score between 1-10 fills with the colour black will still work on the iPad? Not being able to edit it just means you can't change this

    I want to use numbers on my iPad mini for a team I coach. I have a spreadsheet on my mac I want to import onto the iPad mini for players to enter in wellness ratings. On this spreadsheet (on the mac) I have a conditioning formatting rule that when a player enters in their numbers the cells fill with black so others can't see their entries (to maintain privacy). Will this function import across onto iPad numbers? From the discussion I saw on this site it only partly answers my question stating "it cannot be edited" does this mean the conditional formatting rule cannot be changed and therefore will still work or the whole spreadsheet can't be edited and you can only view the spreadsheet and make no new entries to it?

    Yes, I have posted this thread to different forums after I realized that Lenovo "customer care" is not likely to help me out and even wirelessforums.org members couldn't come up with any ideas for days, that's why. I have already written that helper applications like SMAC (or etherchange or macshift) don't work, because they do the same thing in the system as I change it in the driver panel, so they use the same method which simply does not work.
    Locked? Definitely not. If yes, why can I change the MAC of my adapter under Ubuntu Linux using b43 open-source driver if it's really locked? Or you mean it's locked from software, because Lenovo or Broadcom didn't want their users to change their MACs or they just forgot to release a fully-functional driver? Well, then I would like to have a driver in which it's not locked, because this is a basic feature of my adapter of which the hardware is capable.
    I have already contacted Broadcom, see their (automatically-generated) answer in my initial post, but I will try to do that again with more foresight.

  • Adding new text in SHC HTML template with different colour

    Hi Gurus,
    We are using SRM5.0 Server 550 and SP14 and classic scenario.
    Is it possible to change the colour of a newly added text in Shopping cart HTML template?
    I mean we have a requirement to add a new text in HTML template of shopping cart and with a different colour so that it woulod be highlighted whenever users try to shop something.
    Can anyone let me know the pros and cons of such a thing, if later on they upgrade to SRM7.0 and its feasibility?
    Regards,
    Teja

    Hi,
    You can enhance/modify the HTML template.
    SRM 7.0 does not use ITS HTML template. So SRM 5.0 is the last version using ITS HTML template and no impact for upgrading to SRM 7.0.
    Regards,
    Masa

  • Variable multiple single value filled with customer exit used in FOX form.

    Hi guys, I definitly need your help in the following scenario:
    I have variable (multiple single value) filled in a customer exit and use it in web template. There it is used in the drop down box for selecting a special date in the analysis item. And there comes the first question:Why the results from the customer exit are written in the way "date1; date2; date3" in one line? They should appear line by line in rows. How can I influence that? I tried both data binding types, "variable" and "characteristic".
    Now a button raises a planning function with a fox formula which should write the selected date (from the drop down box) in a customer table using "call function".
    I always get the error, that I need to restrict the variable to "single value". Why do I have to do that and if necessary how can I do that? Other planning functions without the fox formula also work properly with using the selection from the drop down box.
    I appreciate you help.
    Kind regards, Anja.

    Hi Vamsi.,
    Try this code.
    WHEN 'PREVIOUS_YEAR_1'.
    IF I_STEP = 2. "after the popup of user entry
    LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
    WHERE VNAM = 'ZCURRENT_YEAR_PERIOD'.
    break-point.
    IF SY-SUBRC EQ 0.
    WA_YEAR = LOC_VAR_RANGE-LOW+0(4). "Year
    WA_MONTH = LOC_VAR_RANGE-LOW+5(3). "Period
    WA_YEAR = WA_YEAR - 1.
    CONCATENATE WA_YEAR wa_month INTO WA_FISC_PERD .
    CONCATENATE WA_YEAR WA_MONTH1 INTO L_S_RANGE-HIGH .
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'EQ'.
    APPEND L_S_RANGE TO E_T_RANGE.
    ENDIF.
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'BT'.
    APPEND L_S_RANGE TO E_T_RANGE.
    ENDIF.
    ENDIF.
    ENDLOOP.
    endif.
    Assing points if it helps you.
    -- Selva

  • Single SQl Query with different where conditions

    Experts,
    I have a requirement to design a report. Here are the details
    I have Report table layout
    Profit center Gross sales (This Year) Gross Sales (Last Year) % change Year of Year
    The Report has a selection of entering the Start Date.
    I have a single table in oracle which has profit center and Gross Sales Values on daily basis.
    I want to write a single sql query to calculate both Gross Sales current year and Gross Sales Last Year. I can calculate Gross Sales Current Year by putting the where condition for start date = Current Year Date which i pass through report. I want to calculate the Gross Sales Last Year in the Same query by putting the different where condition i.e start date = Last Year date based on the date input.
    I dont know how to put two where conditions in single query for two different columns.
    Any help will be appreciated.
    Thanks in advance
    Regards
    Santosh

    instead of changing your where clause couldn't you just determine the yearly totals from your table and then use the lag statement to get last years total?
    something like this?
    I just made up 10,000 days worth of sales and called it fake table it is supposed to represent a variant of the table you were describing as your base table.
    with fake_table as
    ( select trunc(sysdate + level) the_day,
    level daily_gross_sales
    from dual
    connect by level < 10001
    select yr, year_gross_sale, lag(year_gross_sale) over (order by yr) prev_year_gross_sale,
    (year_gross_sale - lag(year_gross_sale) over (order by yr))/year_gross_sale * 100 percent_change
    from
    (select distinct yr, year_gross_sale from
    select the_day,
    daily_gross_sales,
    extract(year from the_day) yr,
    extract(year from add_months(the_day,12)) next_yr,
    sum(daily_gross_sales) over (partition by extract(year from the_day)) year_gross_sale
    from fake_table
    order by yr
    )

  • How to color single column cells with different colors in classic report based different conditions

    Hi ,
      Am working on Oracle Apex 4.2 version. Am trying to generate a  classic report with different cell colors based on the conditions.
      I tried the solution provided in the below link.
      https://forums.oracle.com/message/9518723#9518723.
      I tried the same query given in that link.
       SELECT e.*,
      CASE
        WHEN sal < 1000
        THEN 'red'
        WHEN sal BETWEEN 1000 AND 2000
        THEN 'yellow'
        WHEN sal > 2000
        THEN 'green'
      END the_color
    FROM emp e
      And, I hidded the column 'the_color' in Report Attributes,
              the Column Template1 has the code , <td #ALIGNMENT# headers="#COLUMN_HEADER_NAME#">#COLUMN_VALUE#</td>.
    After this, what are the steps did I miss here. Because am not getting the report which I need.
    Kindly do provide solution.
    Thanks,
    yashu.

    SAL column values should visible with different color based on the conditions. Same way i did in my report it was working for me. Please refer the below links for more information,
    https://forums.oracle.com/thread/1047891
    http://dbswh.webhop.net/htmldb/f?p=BLOG:READ:0::::ARTICLE:351800346145832
    Thanks
    Lakshmi

  • Update an Single edition app with different (pro) account

    Hello,
    I have question regarding updating SE apps.
    1. From what I understand you can still create single edition apps for ipads after May 1st with a pro account, correct?
    2. If I create an app now, with my CC account, can I later, after May 1st, create a professional account under a different name (company name, not mine) and update my old app? (assuming that my apple account and certificates stays the same)
    Thank you
    Alex

    1. Yes.
    2. Yes.
    Neil

  • Publish multiple ical calendars with different colours for each calendar

    hi
    i am wanting to publish either multiple iCal calendars or a calendar group online so that the colours are preserved for different calendars. it would seem that the MobileMe published calendars still only support one colour (blue). could someone recommend another method of publishing read only iCal calendars online, preferably free, but i don't mind paying a small amount
    thanks
    nick

    Dear Ruben
    I would love to know how you can make some events Private.
    We use ical and sync to Google Calendar, but when I create events in iCal, there is no option to make it private.
    We have created a CalDAV connection to Google Apps Calendar, so any help about why there is no check box for Private would be appreciated.

  • Business Graphics - Stacked Column - Stack with different colours

    Hello Experts,
    In the Webdynpro application, I'm using a business graphics UI element and displaying data in stacked columns. The color of the stacks are by default assigned by the framework. But I would like to change the color of the stacks and want to assign my own colors to each stacks. Is this possible in SAP Netweaver 7.1?
    Thanks and Regards,
    Saravanan

    Hi saraa,
    Go to EDIT CUSTOMIZING to change colors etc..
    Please go through this..
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/ca932ebc-0901-0010-68a0-b4dd81a4bf81?quicklink=index&overridelayout=true
    also read this...http://help.sap.com/saphelp_nw04s/helpdata/en/ed/258841a79f1609e10000000a155106/content.htm
    Cheers,
    Kris.
    Edited by: kissnas on Apr 12, 2011 11:06 AM

  • From sap to excel file with different sheets?

    can  i upload   an internal table  from  SAP to single Excel file with different sheets for example like : sheet1, sheet2, sheet3.......sheet10. , but need to upload data from sap to excel worksheets ie. from multiple named tabs in Excel. Is this possible, and if so, please can you help and advise me how?
    thanks
    venkat.
    Edited by: Matt on Feb 16, 2009 2:15 PM  Removed excessive question marks...!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    Hi venkat,
    Yes indeed it is possible to write data from internal table to different excel sheets. Check out SAP's Microsoft OLE functionality.Search on SDN for OLE . Following are some links
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/sample%252bprogram%252bto%252bopen%252bexcel%252bsheet%252busing%252bole
    You can also check out FM ALSM_EXCEL_TO_INTERNAL_TABLE to check how to read different worksheets.
    Using the above two resources you can create a program that can upload data to multiple worksheets in the same workbook.
    Also see this link
    Creating Excel with More than one page
    Edited by: aditya aghor on Feb 16, 2009 1:57 PM
    Edited by: aditya aghor on Feb 16, 2009 2:02 PM

  • Filling with background color

    hi, i am trying to do something that paints some controls on the screen, and if a control reacts in a certain way, it should be repainted. the problem is, some controls are small, so instead a 'repaint' handler for all the screen, it would be nice to just repaint the part that changed
    in other words, instead of
    graphics.clear();
    repaint_all();
    i would like to have something like
    graphics.beginfill(ERASE, 1);
    erase_component();
    redraw_component();
    which i believe would be faster. the reason i can not just say 'fill with background colour' is beacuse 1. background color can be arbitrary, (though it would be nice to have a flash-provided constant or a maccro called BACK_COLOR or something), and 2. because in this case in particular, the background may be a picture (bmp, jpeg whatever) in a sprite below. if i paint a solid block, the block will not erase but instead appear as a block over the background picture. is there anything in flash as an 'erase' fill?
    2. (not related with question title). how do i a. turn off all default options in right click menu (except the 'about flash', wich can not be turned off if running player as stand alone), and b. add a custom item in right click menu
    tnx

    hi, i know there is a graphics object for each thing. i am making my own event handler, i have all controls as pictures in the same object (as the system does, i am doing it without delegating to the system or flash) tnx for the contextmenu tip

  • 2 Init with different selection

    Hi All,
    I want to run 2 inits on a single data source with different selections for that , after running the first init do I have to remove the init from the first package and then run the second package?
    Thanks.
    Tina

    Hi Tina,
        There can be many Init runs in your infopackage given that the selection ranges for the different Inits are not overlapping.  For different Selection ranges you can do different Inits.  You can check the Initilization table in the Scheduler menu of your Infopackage.
    Hope it will be useful
    Thanks
    Kishore

  • Display different colours on JTbable

    I am working on an application that need to automatically produces a table with different colours in cells. Does anyone know how to display colour on each cell of a JTable? e.g. how to display RED to cell at position [2, 4]? e.g. how to display BULE to cell at position [45, 60]?
    Thanks.
    swat_z

    The short answer (to match the question) is that you use a TableCellRenderer. The JTable tutorial has examples of those.
    Haven't seen the tutorial yet? You'll find a link to it near the top of JTable's API documentation.

  • Where can I purchase 2d characters that come with different mouth shapes for various phonemes

    I would like to create an animated video that features a 2d character who speaks.  I have been searching all over for a website that sells 2d characters that include the mouth shapes needed to represent the various phonemes, but I can't find any.
    Does anyone know of any websites that might sell 2d characters that I can import into AE without creating any of the graphics myself?
    Thanks
    Paul

    Hi,
    If you google (under images) for "Phonemes" you will get hundreds of tables, filled with different expression and standard mouth shapes. You can then either use these to create your own versions (there will be several ways to do this), or, since you are willing to spend some money to buy the characters, why not check out http://aescripts.com/auto-lip-sync/
    We use this tool extensively for our project, and it is very user-friendly. The mouths will look a lot better with this, them standard phoneme mouth shapes.
    If you want to go the phoneme way for specific reasons, try this link : http://library.creativecow.net/articles/rabinowitz_aharon/lip_synch.php - it contains a downloadable character face and mouth shapes. I think you can use it, just check to make sure it is allowed.
    Pierre

Maybe you are looking for

  • IPad (3rd gen) losing wifi connection during BBC iPlayer downloads

    Hi, I am having a strange, app-specific problem with my iPad 3rd generation (wifi only, 64GB) running iOS 6.1.3. When I use the BBC iPlayer app (version 2.0.5.33) to download a TV show to watch offline, my iPad almost always loses wifi connection a m

  • Server error on Find My Friends after apple id change

    I keep getting a server error on find my friends after I updated my apple id.  I have made sure I've updated my apple id everywhere including icloud.  What is really wierd is when I go into find my friends, and click on "me" the "Send As" under invit

  • BPEL Process Compilation

    I have simple process having file adapters for reading a text file and DB adapter for writing in a table. After compiling i am getting this message... <label> cannot be run/debug in this release. i have developed in soasuite10g... Any Clue on this...

  • Runtime Error  - Program-iles (86)Adobe\Premiere Pro 1.5\Adobe Premiere Pro.exe

    I have Adobe Video Collection V2.6. (Adobe Premiere Pro 1.5). All of the collection will load on my system except Adobe Premier Pro. My system is: Dell Precision 670 Work Station Intel Xeon CPU 3.2GHz 3.19 GHz, 2.00 GB of RAM MS Windows XP Profession

  • Urgent : scheduling in Routing

    Hi all , I am using Grouping of work center that is in capacity header No od Ind capacity : 6 , start and finish time of the work center is : 07:00:00 to 07:00:00 so the capacity available in the Hour is : 24 x 6 = 144 hr In the Routing : Required sp