XY Graph and curve defined by equation f(x,y) = g (x,y)

Hi!
Have you got any idea how to plot a curve, defined (in general) by equation  f(x, y) = g (x, y) ?
En axample:
Regards.

Hi,
what do you think about this (see attachment)?
The equation has been changed to: f(x, y) = 0. VI finds all zeros in the interval [-2, 2]. Y varies from -2 to 2 in 2000 steps. The example is not the same as it is in my first post.
Regards, 
Ljubo.
Attachments:
XY Equation.llb ‏30 KB

Similar Messages

  • Intersecti​on of line and curve

    I want the opinion of others as to the best way to approach this situation.
    I have a curve defined by (x,y1), and also a straight line y2 = constant. In the example below, y2 = 2.
    I want to find the intersection of the curve with the line.
    My apporach is as follow:
    1. Find the polynomial coefficients of the curve(x,y1) using general polynomial fit
    2. subract (y2 = 2) from  the first polynomial coeficient i.e solving y1 = y2
    3. Solve the equation of the polynomial equation using polynomial roots
    I want to see if there are other ideas.
    Thanks.

    Blueyes,
    Your code misses one of the two intersections. The Insert into Array overwrites the first intersection with the second one.  Build Array is a better choice.  If the number of intersections could be large, pre-initializing the array and using Replace Array Subset is the best choice.
    You can simplify things a bit by using autoindexing.  No need for the Array length.  Use of a shift register eliminates the Y1 Index Array and autoindexing eliminates the X Index Array. Wiring Y2 constant value directly to the In Range and Coerce functions eliminated the need to index the Y2 array, which is only needed for the plot.
    If the Y1 array has noise or horizontal sections, other techniques may need to be used.
    Lynn
    Attachments:
    IntersectionExample_LV2009.2.vi ‏22 KB

  • Questions on graphs and charts.,,,

    Hi ,
    I have always been facing problem while working with graphs and charts. First of all let me be clear with the data these accept. further questions as under:
    1. If I wire an array (1-dimention) to graph/chart , it plots it on Y axis. In this case, what are the values on x.axis?
    2. If I want to acquire a voltage on Analog I/P channel for some specified time , say 2 sec., how to ensure that time span and data without missing anyone.
    3. If I have to plot an I-V plot, how to make sure that V will come on Y-axis and I will come on X-axis.
    Plz clear these doubts...
    Regards
    GNS

    Hi,
    1. Charts takes sigle point value like plotting DC voltages, Graph takes set of values like arrays (1D) which are plotted on Y-axis with respect to x axis which is integer number like 0,1,2..etc.. ,
    XY graph takes bundled array of X-axis & Y axis.
    2. Charts are used where a single point value is to be presented/updated w.r.t. to time or x scale (x scale can also act an index).
    Also it supports update modes like sweep, scope & strip.
    3. Graph are used to plot waveforms which does have no. of samples acquired from DAQ board or other source, which needs to be plot on Y-axis.
    Main inputs of waveforms are starting time (t0), time stpes(dt) & Y elements.
    4.X-Y graphs are used where you want to plot Y elements w.r.t. to the defined X eleme
    nts. For e.g. I want to plot as
    Y=10 when X = 0
    Y=20 when X = 2
    Y=30 when X = 3
    etc.
    Here we have one array of Y elements & other array of X elements. So bundle your X & Y array & fetch to XY graph to plot it.
    Hope it clears you the concepts. Your feedbacks are welcome.
    Best Regards,
    Nirmal Sharma
    India

  • Adding 3 graphs and a table in WebApp from a workbook

    Hi,
    I created a workbook with 4 worksheets: 1 table (the query) and 3 graphs (based on the query) with different currencies. I want to add those in WebApp in one web template. I added the workbook as a dataprovider and 3 graphs and 1 table as the web items. How do I add the worksheets in each partivcular webitem?
    Thanks,
    Ramona

    Hello
    Once you inserted the WEB item in the Template you have to link them to the Data provider (query o Global View).
    That has to be done for each web item. You need to provide a source data (Data Provider) for each of them. If you miss the data provider, you will have no data. Apart that you can then define the other settings related to the WEB Item.
    Mike

  • Creating a graph based on a quadratic equation.

    Hello, I just got my first Mac and iWork 09.
    I'm trying to create a graph in Numbers 09 based on a quadratic equation however I cannot find any way of doing this.
    I just need to some simple graphs based on equations such as y = x^2 + 3x + 5
    How do I make this into a graph in Numbers 09?
    Oh and another question... If I have a graph with points based on X and Y data, can I turn the trend line into an equation?
    Thanks
    Message was edited by: conielo

    To create a scatter chart, you need two columns (or rows) of data, one being X and the other being Y. So, in Column B put the X values you would like plotted. In Column C put your equation to calculate Y for each of those points.
    B2 =1
    B3 =2
    etc
    C2 =B2^23*B25
    then fill down to fill in the rest of the rows in the column.
    I'd recommend a look at the Numbers user's manual if the above doesn't make sense.
    If you have plotted some X-Y data and want the trendline equation, you can turn on a trendline and have it display the equation. You can't use the coefficients from the equation unless you read them off the chart and type them into your table manually. However, you can calculate the trendline yourself in your table. That was covered in some depth in a thread from a little while back. Here's the link to that thread:
    http://discussions.apple.com/thread.jspa?messageID=9015541&#9015541

  • MTA Graphs and Lines

    I am confused between the various lines and curves that usually comes in MTA graph. Can anybody help me to understand these curves and lines.In short, I just want to know more about MTA and how it is performed and what are settings required to achieve this.?
    Any help will be rewarded.?

    Hi Kumar,
    Yes, you can perform MTA through CJ2B in project planning board. Anyways, I will remove your confusion regarding MTA.
    There is a proper transaction for it which is CNMT.
    I have posted a following screen shot taken from my Development Client for you. Go through it once.
    From the above graph, you can see that VERTICAL lines are showing dates of different milestones. In my case, I have not taken any historical curve. But I expect it must be coming in your case. So, now if you get a HORIZONTAL curve then it will suggest you that its dates have not changed over the course of time, that is, progress is being made on schedule. Conversely, an ascending curve indicates that a deadline has been delayed, whereas a descending curve shows that a milestone has been reached early compared to the original planning.
    PRE-REQUISITES for MTA
    1. To perform a milestone trend analysis. the projects that you want to analyze must contain milestones where the Trend analysis indicator is set or was set at early on the project. The Historical curve view of the milestone trend analysis shows the dates over time of the milestones, where the Trend analysis indicator is currently set. The Historical milestones view also displays milestone dates, but where the indicator is not currently set although it was set at an earlier time.
    2. The second prerequisite for the milestone trend analysis is that you must create project versions to retain the dates of the milestones for the different times in the system. Note. in this case. that you must set the MTA relevant indicator for the project versions in order to ensure that they can be used for a milestone trend analysis.
    I hope this may help you
    Regards,
    Amit

  • What is main diff b/w imported Archives and External Defination in IR

    What is main diff b/w imported Archives and External Defination in IR

    Hi Vijay,
    ED-standard schema for describing the message structure.If you have the structure provided to you from some external application you can use it in PI directly without recreating in PI.you can import following formats which are used to describe message schema
    WSDL (Web Service Description Language),
    XSD (XML Schema Definition Language),
    DTDs (Document Type Definitions)
    Imported Archives: its used basically for java and xslt mapping where you create the required mapping externally using some tools
    (java-eclipse/NWDS .XSLT-stylus studio).You can also implement XSLT and Java mappingsf and save them as archives in the Integration Repository.
    read More details here
    [ED|http://help.sap.com/saphelp_nwesrce/helpdata/en/26/9e97b0f525d743882936c2d6f375c7/content.htm]
    [Imported Archives|http://help.sap.com/saphelp_nw04/helpdata/en/4c/b2ad3de2d76b3be10000000a114084/content.htm]
    Regards,
    Srinivas

  • Graphs and Charts output in XML Publisher Report

    Hi All,
    I have incorporated the graphs and charts as well as some bitmap images in XML Report (RTF File), When i am taking a output in pdf. it is coming fine and working properly, where as while taking the same output in excel, graphs/charts/bitmap images are not getting displayed. Only you can view the data.
    can you please suggest what's the issue on the same and how can be resolved.
    Thanks & Regards
    Ankur Dawra

    Not sure you are on the right forum...

  • Three Graphs and Data need to display in a single screen

    Hi Gurus,
    I have a requirment that customer wants to see three graphs and data in a single screen.
    The data will be avilable in a single query, how can i display.  I gone through with many SDN blogs, but i did not get the solution.
    Requirment is:
    First graph         Business Unit informaiton, there are around 7 BUs, under each BU, they have 3-7 Industry groups.
    Second Graph:  Industry Group, under each industry group there are no of customers, i want to display top ten customers.
    Third Graph:  Top Ten Customers.

    Hi Karanam,
    Assuming you are using WAD;
    First graph Business Unit information, there are around 7 BUs, under each BU, they have 3-7 Industry groups.
    -You would need to have a Query that displays the BUs with their Industry Group count i.e BU in the Rows with Industry Count as the KF - I assume you want to show count here
    -Build a Data Provider DP1 on the Query
    -Drag a Chart webitem onto the web template & assign DP1 to it - use a Column/Bar Chart to display the Category 'BU' & Series 'Industry Count'
    Second Graph: Industry Group, under each industry group there are no of customers, i want to display top ten customers.
    -You need to have a Query that displays the Industry Groups & top 10 Customers within each i.e.  - create a Query Condition to achieve top 10 Customers based on some criteria - I assume Sales Revenue or likewise
    -Build a Data Provider DP2 on the Query
    -Drag a Chart webitem onto the web template & assign DP2 to it - use a Column/Bar Chart to display the Categories 'Industry Group', 'Customer' & Series 'Sales Revenue' or likewise
    Third Graph: Top Ten Customers.
    -You need to have a Query that displays the top 10 Customers i.e.  - create a Query Condition to achieve top 10 Customers based on some criteria - I assume Sales Revenue or likewise
    -Build a Data Provider DP3 on the Query
    -Drag a Chart webitem onto the web template & assign DP3 to it - use a Column/Bar Chart to display the Category 'Customer' & Series 'Sales Revenue' or likewise
    --Priya
    Edited by: Priya Jacob on May 27, 2010 7:41 AM

  • Has anyone highlighted a word in online text, and it defined the word automatically?

    i accidently clicked some buttons while reading online text, and the next thing i know, the word "meeting" is highlighted and being defined in a dictionary window that popped up.  id like to know how to replicate the mistake i made because this is a really efficient feature.

    it is not a mistake, it is a feature in OS X Lion. It's a 3 finger double tap over the word you want to search...
    You can try it here with this: Rimini 

  • Is there a way to change the color of the Bezier Curves and points to a different color other than black  I find it perplexing while setting points and curves working on a photo that needs to be separated from it's background for placement on transparent

    Is there a way to change the color of the Bezier Curves and points to a different color other than black  I find it perplexing while setting points and curves working on a photo that needs to be separated from it's background for placement on transparent backgrounds. Any thoughts?

    Yes. Well, sort of: instead of a "path", set the pen tool to "shape" in the tool properties. Then set the fill colour to transparent, and the stroke colour to the colour you want. You can also set the stroke width.
    Not perfect, but at least you can see the path more clearly - the anchor points and handles still remain the default colour. Open the path panel, and right-mouse click the path shape to create a selection based on that shape. The Paths panel menu also allows you to create work paths based on that shape.
    Unfortunately when you try to move the handles the black thin outline appears again until you release the mouse button.
    This is one of several things that works better in Photoline: in Photoline, once the path is set to a specific colour, editing the path uses the actual colour and stroke width. which is extremely handy for creating path based selection with awkward background colours and/or a high resolution screen. In Photoline the handles and bezier points are also much, much larger, which makes it rather simpler to work with as well - especially on a higher resolution screen. And when selected the handles and points are a clear red with a black outline - again easier to spot and identify. I just works better, in my opinion.

  • How to save data on a graph and then add new data to it

    i am currently plotting data on a graph from a physical system. However when i want to add new data to the plot, the old one is replaced. I am trying to do more than one plot on the same graph, where the incoming data is at different times. I want something like Excel where i can just add a new plot to the graph.Can i save the data or freeze it onto the graph or something so that i can add a new plot and see the two at the same time?

    > i am currently plotting data on a graph from a physical system.
    > However when i want to add new data to the plot, the old one is
    > replaced. I am trying to do more than one plot on the same graph,
    > where the incoming data is at different times. I want something like
    > Excel where i can just add a new plot to the graph.Can i save the data
    > or freeze it onto the graph or something so that i can add a new plot
    > and see the two at the same time?
    As the other post pointed out, there are two objects in LV for plotting,
    graphs and charts. If you wish to have a chart recorder that
    accumulates data into one or more plot with time, you probably want a chart.
    If you push a button and acquire a trace and want to add that to your
    graph, you just need to
    combine it with the data you plotted before and
    update the graph. It isn't the most efficient, but you can easily read
    the value of the graph using a local, add another row or column or
    element to your data and send it to the graph.
    To directly answer your other question, no, the grah doesn't have a
    functional interface for clearing, adding, or deleting plots. Instead,
    you do that with the diagram nodes and give the graph the results.
    Greg McKaskle

  • Graphs and parent-child with loops and duplicates

    There is a parent-child relation in the table t(prnt, chld) which allows duplicates (A->B, A->B) and opposite paths (A->B, B->A), and complicated loops. Is there a way to identify rows that form any separate "connections network" and assign a "name" to them of any kind (letter, number, wahtever)? I try to use WITH recursive clause to identify and group rows belonging to one graph but with no luck. Any help would be appreciated.
    thank you

    Frank, I posted inputs for all graphs (multiple inserts) and some allowable outputs for one graph. For all cases (ie. graphs) the rule is the same:
    1. identify all nodes belonging to a graph
    2. "name" that graph (min, max or whatever you like)
    3. print the output in the form (node_belonging_to_a_graph, name_of_the_graph) for all identified graphs
    And as you said, I am somewhat flexible. I don't want to constrain the problem with saying min, max because it's not important how you name it, but the way which is somehow natural and fits with requirements is the usage of nodes' values.
    You ask me if (1,1),(2,1),(3,1) is also OK as an output for sample graph (1,2)+(2,3). Yes it is. It is one of those I posted but with additional node which is chosen as a name for a graph. But as you can guess it doesn't matter which node you choose, and the additional information about a node named with its own name is not as important and the information that all other nodes are named with that name but it is 100% acceptable. If you changed the naming convention and started to use letters instead of node values then yes, it would be a must to have the output in the form (1,a),(2,a),(3,a).
    You also ask me about the result for 90x data inserted as 5 rows: (901,902)..(906,904) and present sample result:
    901 902
    905 902
    906 902
    And the answer is no, it is not good result. It misses the information about the nodes 904 and 903 which belong to this graph too. The correct result could be:
    901 902
    905 902
    906 902
    903 902
    904 902
    or any other "combination" which presents 5 nodes with the name of the sixth (in this case of 6-node graph). Just one have to be picked, it doesn't matter which one. The "vertical" order is also irrelevant.
    As you can see there is a lot of room that gives acceptable result. I don't want to constraint it because it can influence performance which is important when dealing with graph structures in relational databases (RDBMS are not predestined to easily cope with that sort of information). It can also influence the chosen algorithm and I'd like to pick the fastest one which gives acceptable result.
    Two numbers x and y are in the same group (graph) if (and only if) at least one of the following is true:
    (1) they appear on the same row together (it doesn't matter which number is in which of the 2 columns), or
    --(2) x appears on the same row with a third number, z, and z is in the same group as y--
    (2) there are other edges (entries) in the table that form a "path" from x to y. And because the direction of the path is not important for the problem (ie. the parent-child table structure can be forgotten for a moment), the path means "there exists connection" between x and y aka "you can walk from x to y".
    The output consists of 2 columns: id (which is unique in the result set) and grp (which identifies the group) *[correct]*
    The id column will always be one of the numbers in the group *[correct]*
    It doesn't matter what the grp column is, or even what data type, as long as it distinguishes between the different groups. *[correct, but as you noted using one, picked number from a graph is the prefferable way]*
    If there are N distinct numbers in the group, I need N rows of output for that group, with id showing all those distinct numbers. *[correct, but if you choose your naming convention as naming a graph with the value of the node belonging to it you can ommit the node which is named for itself (but it doesn't hurt is such row appear in the result)]*
    You ask me if the graph is directed. No it's not. Your example (x,y) and (y,x) is great, and it can be concluded from my first post when I say that "opposite paths" (A->B, B->A) exists. What matters is the connection between the nodes. The parent-child table somehow imposes that direction is important, but for this problem it is not.
    One of the motivations for my post is to know what other people think without affecting their minds with my approach. I don't want to skew anybody's mind into my solution which works, but it's not effective. I don't mind showing it but I kindly ask you to think about the problem before I post it. Diversity of approaches helps to distill the best one.
    As I said I did it with the usage of sys_connect_by_path. If it doesn't appear to you as possible usage then it is likely that I don't use it efficiently. Please understand, I will post it if you ask me one more time but if you can live for a while without my inefficient solution and suggest something with WITH clause I would appreciate it.
    There is no exact result I expect. There are many results which are correct and acceptable. They all must follow the rules described at the beginning.
    Thank you
    Edited by: 943276 on Jun 28, 2012 1:32 AM

  • Creating graph and DFS in a graph

    Hello all,
    I have set of vertices in array and edges in linked list. Now i want to create a graph and do depth first search. Can anyone suggest me how to proceed.
    situ

    Explained in great detail here (even pseudo code):
    http://en.wikipedia.org/wiki/Depth-first_search
    If you have a specific Java question, please post back.
    Good luck.

  • Publisher 11.1.1.5 graph and pivot problem

    Hi,
    I use publisher 11.1.1.5. My graph (for RICAVO) show only integer values and pivot table (for QTA) get the error message. Only normal table generation is successful. I used layout template editor.
    My example data is:
    <DATA_DS>
    <G_1>
    <ID_PROD>53</ID_PROD>
    <DESCR>Rac1</DESCR>
    <QTA>1021755</QTA>
    <RICAVO>4268165.45</RICAVO>
    </G_1>
    <G_1>
    <ID_PROD>54</ID_PROD>
    <DESCR>Rac2</DESCR>
    <QTA>334344</QTA>
    <RICAVO>1419017.22</RICAVO>
    </G_1>
    <G_1>
    <ID_PROD>51</ID_PROD>
    <DESCR>Rac3</DESCR>
    <QTA>1137378</QTA>
    <RICAVO>4689214.45</RICAVO>
    </G_1>
    <G_1>
    <ID_PROD>56</ID_PROD>
    <DESCR>Tel1</DESCR>
    <QTA>614434</QTA>
    <RICAVO>2264936</RICAVO>
    </G_1>
    <G_1>
    <ID_PROD>9</ID_PROD>
    <DESCR>Cert</DESCR>
    <QTA>42006</QTA>
    <RICAVO>178209</RICAVO>
    </G_1>
    <G_1>
    <ID_PROD>57</ID_PROD>
    <DESCR>Tel2</DESCR>
    <QTA>403921</QTA>
    <RICAVO>2000968</RICAVO>
    </G_1>
    <G_1>
    <ID_PROD>46</ID_PROD>
    <DESCR>Lett1</DESCR>
    <QTA>239816</QTA>
    <RICAVO>262993.03</RICAVO>
    </G_1>
    <G_1>
    <ID_PROD>44</ID_PROD>
    <DESCR>Lett2</DESCR>
    <QTA>71952</QTA>
    <RICAVO>76164.45</RICAVO>
    </G_1>
    <G_1>
    <ID_PROD>58</ID_PROD>
    <DESCR>Tel3</DESCR>
    <QTA>57375</QTA>
    <RICAVO>205802</RICAVO>
    </G_1>
    <G_1>
    <ID_PROD>21</ID_PROD>
    <DESCR>Po</DESCR>
    <QTA>6785</QTA>
    <RICAVO>536015.98</RICAVO>
    </G_1>
    <span id="skype_highlighting_settings" display="none" AutoExtractNumbers="1"/>
    </DATA_DS>
    the pivot preview (for QTA) in layout editor is:
    53 54 51 56 9 57 46 44 58 21
    rac1 NaN
    rac2 334344
    rac3 NaN
    Tel1 614434
    Cert 42006
    Tel2 403921
    Lett1 239816
    Lett2 71952
    Tel3 57375
    Po 6785
    there are two Nan values!!!
    What kind of problem would be?
    Edited by: 957438 on 6-set-2012 7.47
    Edited by: 957438 on 6-set-2012 7.49

    The problem seems to be scientific notation. Values that are higher than 1000000 are automaticalli conver.ted in scientific notation and they aren't recognized in graphs and pivot.
    Indeed online analyzer show this values with the integer part only, i.e. 4,5E10 is showed as 4. How i can avoid automatic scientific notation?

Maybe you are looking for