Color in a Graph

Is there a way to draw the background of a graph in different colors,
e.g. to mark the region of a ROI, or alternatively draw the points in
varying colors?
Regards,
Nico
Nico Schmidt IPK/IWF eMail : [email protected]
Sekr. PTZ 4, Pascalstr. 8-9 Phone : +49-30-39006342
D-10587 Berlin

The easiest way to do this is to use another plot to either overlay the
other plots and draw points over the other plot, or behind the other
plots as a filled plot filled to inf or -inf.
Greg McKaskle
Nico wrote:
>
> Is there a way to draw the background of a graph in different colors,
> e.g. to mark the region of a ROI, or alternatively draw the points in
> varying colors?
>
> Regards,
> Nico
>
> --
> Nico Schmidt IPK/IWF eMail : [email protected]
> Sekr. PTZ 4, Pascalstr. 8-9 Phone : +49-30-39006342
> D-10587 Berlin

Similar Messages

  • How can i dynamically vary the color of one graph line

    I was looking on the developer zone and noticed several people are looking for a way to change the color of one graph line. Simplest case I would like to know: a graph is running, then you press a button and from that point on the color of the graph changes, but doesnt change the old data line color. THis way the line will consist of different colors.
    The property node changes the whole line, and the line is always just one color. It should be possible to make the line consist of different color sections, anyone know how?

    The application is actually not as slow as it seemed, i had some settings set wrong (anti aliasing in plot, and some functions in advanced, when you right click on the graph)
    Especially unchecking the anti-aliasing makes it much faster
    Also, just plotting point and not a line, or alternatively, changing the interpolation makes it faster.
    Anyway, the attached files do not rely on processor so much anymore, see for yourself
    Attachments:
    multicolor_looking_plot.vi ‏99 KB
    multicolor_looking_plot_2.vi ‏105 KB
    multicolor_looking_plot_3_truncated_array.vi ‏99 KB

  • How can i change the color of the graph in agreement of the program's condition

    Hi,
    I am using labview 5.1 in my graduation's project final. (sorry by my english, but i am ina hurry)
    How can i change the color of the graph in agreement of the program's condition?
    I am developing a VI to control the temperature of termistors,but i have another sensor too.
    In a graph i have the situation of the termistors,but i want to change the color of the graph when the sensor is active.
    Thanks a lot
    Rafael Wajnsztajn - Brasil

    To change the color of the line itself, you can use the attribute Plot>>Plot Color.
    To change the color of the points, you can use the attribute Cursor>>Cursor Color.
    To select the color, you should have a color box constant inside the Numeric>>Additional Numeric Constants palette.
    This is all in LV 7.0. I'm not sure how it similar it is in 5.1.
    One important thing is to place the attribute node inside a case structure which will execute only when your condition has been filled.
    If this didn't help you, I suggest you post the relevant piece of code, or at least an image of it (no BMPs, please).
    Try to take over the world!

  • Fade colors of intensity graph

    Hi everyone,
    I've made a program where I read an 2D-array and plot this array in a intensity graph.
    I was wondering if the colors in the graph can fade in each other, preferably in vertical position (columns). The idea is that the numeric data becomes visualized like a DNA profile.
    I've added a image of the plotted graph.
    Thanks.
    Solved!
    Go to Solution.
    Attachments:
    Intensity graph plot major.PNG ‏48 KB
    Intensity graph plot minor.PNG ‏35 KB

    Without manipulating the array, no it's not possible.  I made an idea on the Idea exchange to fix this, I recommend you vote for it.  Anti-Alias or Smooth Intensity Plot
    Like the idea says, see this post for workarounds.
    Tim Elsey
    LabVIEW 2010, 2012
    Certified LabVIEW Architect

  • Coloring series in graph

    Hi Guru's,
    This might be a basic question. But still I could not find it myself. How will you give a color to different series displayed in graph. By default, I am getting red color both to my history series and forecast series. There is no differentiation. How do I configure to get a different color in the graph for forecast.
    Thanks in advance
    Ramkri

    Hi Ram,
    Have you not tried it in
    BM- configuration - configure series - 'select respective series' - goto 'display properties' - change display color of the graph.
    Tks
    MJ

  • Help Needed : Changing the Color of Bar Graph Dynamically

    Hi..
    Is der any body to help me out...?
    My Question is :- How to change the color of Bar graph Dynamically..
    For example (Assume when one of the Bar Graph crosses certain limit of Y axis value mentioned, the graph must be changed into RED color)
    Thanks in Advance
    Edited by: user12873839 on Mar 30, 2010 10:03 PM

    Manoj,
    You have to create the entire chart manually. follow the below steps. You can refer to the anychart website for more help on different tags and features.
    1. Enter the following code in the html header of the page
    <script src="#WORKSPACE_IMAGES#AnyChart.js"  type="text/javascript" > </script>2. Create an ON Demand Application process by going to the Home>Application Builder>Application #>Shared Components>Application Processes
    3. Click On Create
    4. Enter the name as DYNAMIC_BAR_GRAPH_CHART
    5. Select the processing point as On Demand
    6. Click on Nxt
    7. Enter the following code in the processing text
    DECLARE
    BEGIN
    OWA_UTIL.mime_header ('text/xml', FALSE);
    OWA_UTIL.http_header_close;
    HTP.p ('<?xml version = "1.0" encoding="utf-8" standalone = "yes"?>');
    HTP.p ('<anychart>');
         HTP.p ('<settings>');
              HTP.p ('<animation enabled="True"/>');
         HTP.p ('</settings>');
      HTP.p ('<charts>');
       HTP.p ('<chart plot_type="CategorizedVertical">');
         HTP.p ('<data_plot_settings default_series_type="Bar">');
              HTP.p ('<bar_series>');
                        HTP.p ('<tooltip_settings enabled="True">');
                        HTP.p ('<position valign="Top" halign="Right"/>');
                        HTP.p ('<format> Name: {%Name}');
                        HTP.p ( 'Value : ${%YValue}{numDecimals:0}');
                        HTP.p ('</format>');
                        HTP.p ('<font bold="false"/>'); 
                        HTP.p ('<background>');
                        HTP.p ('<corners type="Rounded" all="3"/>');
                        HTP.p ('<border type="Solid" color="DarkColor(%Color)" thickness="2"/>');
                        HTP.p ('</background>');
                   HTP.p ('</tooltip_settings>');
              HTP.p ('</bar_series>');
         HTP.p ('</data_plot_settings>');
         HTP.p ('<data>');
              HTP.p ('<series name="series 1">');
               FOR cThis IN (select table2.name, table2.value
                                  from table1,table2,table3
                                  where table1.T1ID = table3.T3ID
                                  and table2.T3ID = table3.T3ID
                                  and table3.C_ID=1
                                  and table3.A_ID=1
                        ORDER BY table2.name )
              LOOP
                   IF cThis.value > 90 THEN
                        HTP.p ('<point name="' || cThis.name || '" y="'|| cThis.value || '" color="red"/>');
                    ELSE
                        HTP.p ('<point name="' || cThis.name || '" y="'|| cThis.value || '" />');
                   END IF;
              END LOOP;
              HTP.p ('</series>');
         HTP.p ('</data>');
         HTP.p ('<chart_settings>');
              HTP.p ('<title>');
                   HTP.p ('<text>Chart Title</text>');
              HTP.p ('</title>');
              HTP.p ('<axes>');
                   HTP.p ('<y_axis>');
                        HTP.p ('<title>');
                             HTP.p ('<text>Value</text> ');
                        HTP.p ('</title>');
                        HTP.p ('<labels>');
                             HTP.p ('<format>${%Value}{numDecimals:0}</format>');
                        HTP.p ('</labels>');
                   HTP.p ('<axis_markers>');
                   HTP.p ('</axis_markers>');
                   HTP.p ('</y_axis>');
                   HTP.p ('<x_axis position="Normal" align="inside">');
                   HTP.p ('<labels display_mode="Rotated" rotation="90" align="inside" />');
                   HTP.p ('<title>');
                        HTP.p ('<text>Name</text> ');
                   HTP.p ('</title>');
                   HTP.p ('</x_axis>');
              HTP.p (' </axes>');
         HTP.p ('</chart_settings>');
        HTP.p ('</chart>');
      HTP.p ('</charts>');
    HTP.p ('</anychart>');
    htmldb_application.g_unrecoverable_error := true;
    END;8. Click on Create Process
    Now we will create a html region to display the graph.
    9. Create a new region of type HTML on the same page and select the region template as no template.
    10. Enter the following code in the region source
    &lt;div id="DynamicaBarGraph"></div>
    &lt;script type="text/javascript" language="javascript">
    function DynamicaBarGraph()
    var DynamicaBarGraph = new AnyChart('/i/flashchart/swf/AnyChart.swf');
    //    DynamicaBarGraph.width = "400";
    //    DynamicaBarGraph.height = "400";
    DynamicaBarGraph.addEventListener('pointClick', onDynamicaBarGraphClick);
        var DynamicaBarGraphData = new htmldb_Get(null,$x('pFlowId').value,'APPLICATION_PROCESS=DYNAMIC_BAR_GRAPH_CHART',0);
        gReturn = DynamicaBarGraphData.get();
        DynamicaBarGraph.setData(gReturn);
        DynamicaBarGraph.write("DynamicaBarGraph");
    function onDynamicaBarGraphClick(e)
    // Read point name
         name=e.data.Name;
    // Read point value
         value=e.data.YValue;
    // You can add onclick even here using the values name and value
    DynamicaBarGraph();
    </script> Hope it helps. Thanks.
    Regards,
    Manish

  • Default Colors Limit for Graph in OBIEE 11g

    Hi, I'm using OBIEE 11g (11.1.1.6.6)
    When I use a graph (either bar or pie), I notice that OBIEE only has 12 default colors to use in the graph. So it starts from blue, red, and so forth, until the 12th color, then for the 13th color it will use the same blue again, and so forth.
    The problem is that my column values are more than 12 (it could be 20, it could be 30, etc). So, the repeating colors doesn't make any sense for the graphs.
    Could somebody please advise me on how to increase the default number of default colors used by OBIEE (so that it will be like 50 default colors set automatically by OBIEE, just in case)?
    Thanks so much!

    Hi,
    type HexaDecimal colors in google you will find n number of colors with the code number, just use this color codes by adding# before every code in the column format properties.
    for ex: #ccc99
    Follow this follwoing link
    http://www.google.co.in/imgres?imgurl=http://howto.websitespot.com/images/hexadecimal-color-chart.gif&imgrefurl=http://howto.websitespot.com/hexadecimal-colors/&h=706&w=498&sz=63&tbnid=9_3i-3tIMDNffM:&tbnh=91&tbnw=64&prev=/search%3Fq%3Dhexadecimal%2Bcolors%26tbm%3Disch%26tbo%3Du&zoom=1&q=hexadecimal+colors&usg=__nWfHEFVvPfjMfZyq2MxXkhJ-288=&docid=FXj6mM0pc4RQTM&hl=en&sa=X&ei=FDxJUc2cDqS8iwKetICACQ&sqi=2&ved=0CEAQ9QEwBA&dur=280
    Mark if Helpful/correct.
    revert me for any queries
    Thanks
    Edited by: 934322 on Mar 19, 2013 9:38 PM

  • Multiple color in a graph

    Hi friends,
                   The is a SAP standard program in the name GRAPHICS_GUI_CE_DEMO with the help of which we can generate reports represented in graphical way.Whenever we generate a graph,it shows us a bar graph having first bar in yellow,Can we change the color of the bar by any means, If anybody has documentation on this particular code, please help me.
    Regards
    Ashish.

    Hi,
    can you tell em which version are u using.....because there is no pragram with name GRAPHICS_GUI_CE_DEMO
    but we have program with name, GRAPHICS_GIS_VIEW_DEMO.
    or else can yoou give me the code so that, i can analyse......
    Regards,
    Adarsh

  • Marker and color in a graph

    I would like to change the color palette in a graph. How can I do it?
    Also I would like to change the size of the markers in a graph, is it possible?
    Pls. Help!!!

    The easiest way to do this is to use another plot to either overlay the
    other plots and draw points over the other plot, or behind the other
    plots as a filled plot filled to inf or -inf.
    Greg McKaskle
    Nico wrote:
    >
    > Is there a way to draw the background of a graph in different colors,
    > e.g. to mark the region of a ROI, or alternatively draw the points in
    > varying colors?
    >
    > Regards,
    > Nico
    >
    > --
    > Nico Schmidt IPK/IWF eMail : [email protected]
    > Sekr. PTZ 4, Pascalstr. 8-9 Phone : +49-30-39006342
    > D-10587 Berlin

  • Programming Marker Color in XY Graph

    Hello Everyone,
    In Igor by Wavemetrics, I can plot XY graph with marker only, the marker color can be tied to the corresponding value in a third data column.  In some sense, this is similar to but not quite like an intensity graph.  Is it possible to do this in Labview?
    I will move my X-Y stages to search for a laser beam in large steps and nail its maximum in finer steps.  I would like to plot the trails of my search.  I would appreciate if someone already has this kind of search vi.
    Thanks in advance.
    Fang

    Fang,
    It is possible to change plot point colors of an XY graph by using a property node run through a case structure.  If the results found entering the case structure set it to either true or false, the points can be set to be a certain color.  The property you are looking for is Plot.Fill/Point Color.  However, this is definitely not the most robust method for doing this, as it involves breaking down your x and y data into individual numbers using a for loop.  Also, because the way the XY graph pulls in data, it is essentially impossible to change the color of just one point.  In order to do this, you would need to set up a multiplot and have one plot using one color and the other plot using the default color.  The plot that utilized your signal color would only plot if certain conditions were met.  
    So, I would say that using the 3-D graph functions would be a much simpler method, as was suggested by the previous user.
    Mr. Moore

  • BOXI 3.0 To have different color if bar graph

    Hello BO experts.
    Alias here. I have one question.
    I have made Bar Charts-Vertical Grouped in BOXI Web Intelligence.
    The graph is just shown one color for every bar eventhough the bar represent different categories.
    How to have different color for each bar? Can we do that in BOXi webi?
    Thank you very much.
    Best regards,
    Alias

    Alias, if you want to change the default color you can do it on grah properties (Appeareance/Data/Palette).
    BO shows the same color for the same measure.
    If you need different colors for each category you could create one variable for each category and include them in your graph.
    Hope that helps.
    luis

  • Changing the color of bar graph

    I have created a bar graph in graphics builder and I want the
    report to display different colors to indicate different values
    in the field.
    What is the best way to do this?
    Can someone provide me with sample code?
    Thanks

    I have created a bar graph in graphics builder and I want the
    report to display different colors to indicate different values
    in the field.
    What is the best way to do this?
    Can someone provide me with sample code?
    Thanks

  • Coloring a 3D Graph using measured Data

    Hey there,
    at first: Sorry for my "bad" english...I dont even know how to explain my problem in german, so english will be tough
    I made a programm that can read the coordinates of NC Programms (X,Y,Z) and plots it into a 3D Graph (so I am plotting an five achsis milling process). This works fine. But: I have an array full of Data that has been measured while milling (e.g. acoustic emission, cutting forces..etc). I have to color the 3D Plot using this measured data.
    For Example: While milling the cutting forces raises and the plot should color using the cutting forces from green to red (green: cutting forces below certain limit, red above). So when I read the coordinates/the plot (which describe the contour the tool runs) I can see by its color if everything (the measured process parameter) is fine.
    I checked the 3D Plot's color vector but I just didnt get how it works. I read that the coloring is mostly affected by the Z- Coordinates (If it would be just affected by the color vector itself!)
    I hope I could describe my problem properly. Thanks & best regards
    Bastian

    man1ac wrote:
    Its me again.
    I just used try and error at the 4D Acc example and somehow I made it work. BUT:
    I just can use this settings, otherwise the lines are combined or the surface just doenst work (if I choose this).
    PointStyle: cwPoint3DSolidCircle (I can use other Point structures, but this one looks the best)
    PointColor: It set onto blue, but has no effect
    LineStyle: no actual effect (what does it?)
    LineColor: the same
    ContourLevels: Whats this feature?
    PlotStyle: cwPoint
    Transparency: 20
    Can anyone explain to me what these name features acutally do?
    The result is not quite bad, the plotted Points change their color dependend on the W-Vector (I just filled one with 0 and replaced 2 values, so that only 2 Points will me Colored).
    But the result would be nicer if I dont see any points, but a line which is colored. I didnt find any working combination of the possible settings.
    Again thank you very much, 90% of the work are done *happy*
    Well the other 10% is something you will have to get yourself by playing with the various options.
    Line setting only have an effect if you are using a plot with line.
    Point color is derived from the W vector and the color mapping.
    Contour levels will draw lines throug hte surface where the Z plane intersect the surface.
     I never got the help to work corectly and lerned everything I know by playing with the code.
    Have fun!
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How to change individual point colors of xy graph

    Hi all,
    I would like to plot 100 xy points to a xy chart so that each of them have a different color. There is a "plot color" property and "point color" property in the property node, but for some reason those doesn't seem to have any effect on the point colors. I bet there is an easy solution for this, but I don't seem to find it...
    Marko

    It really makes little sense to plot each point twice just to make it (barely) visible in a "line only" plot, just select a plot style that contains points.
    Here's an example how you could do it.
    Message Edited by altenbach on 02-12-2008 07:39 AM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    plotcolor_xy.png ‏17 KB
    plotcolor-xy.vi ‏19 KB

  • How to change line color in line graph

    Hi,
    I have one 'on change of' field and has  three 'show value' fields.
    Crystal has assigned default colors for  these 3 lines..but i want to assign my own colors..is this possible?
    and can we adjust the line thickness?
    I am using crystal 2008 complete edition.
    And i am using formulae for the 'show value' fields..so the legend is showing '@' sign..how to get rid if this?
    Aprreciate any info...
    Thanks,
    Preethi

    If you click on the lines themselves, it should highlight the specific line you clicked on.
    Once the line is highlighted, right-click on the line and you should be able to "format the connector line" properties by changing the thickness, colour and type of line.
    The same can be done for the titles of the chart, simply click on one of the titles, once it's highlighted you should be able to change the title names, font colour, font type etc.
    --Lisinda

Maybe you are looking for

  • SharePoint 2010 Search Error

    Hello, Search Service Application was working probably but I started getting the errors below! The start address sps3s://spxyzzzzz cannot be crawled. Context: Application 'Search_Service_Application', Catalog 'Portal_Content' Details:     This item c

  • Adobe Indesign keeps crashing when exporting to PDF (for certification)

    Hi, We've been having more and more of these crashes of Indesign, always happens when we want to export a indesign file to a PDF. Most of the times a simple restart will fix it for a while, but the error always returns. Can someone give me a few hint

  • Adobe output to ArchiveLink

    I have configured ArchiveLink and i have test and it works. But when i try archive a document from Adobe nothing happens. I have filled out the three required fields which are:   GS_DARATAB-SAP_OBJECT = 'PREL'.   GS_DARATAB-AR_OBJECT  = 'ZTJ_BEVIS'.

  • Removal of mail from server in mail

    my Mail program will not remove mail from server when marked to do so in advanced preference settings. I have marked mail to be removed upon retrieval, but the mail sits on the server and builds up until I manually click "remove from server". What to

  • Archivelog mode - online backup

    i'm trying to do an online backup in archivelog mode (user managed backup) 1. for that i've put the db in backup mode by sql> alter database begin backup 2.copied the datafiles to the backup location in o.s using cp command 3.tried to copy controlfil