Continuous Scatter Plot Comparison for Satellite Observation

I am working on writing a java plug-in to analyze a scatter plot generated from satellite data(semi-major axis vs inclination). I have been looking at algorithms to do so and found DFS(Depth First Search) and BFS(Breath First Search). The point behind the code is to find out what is normal movement for the satellite and catch abnormal movement. The only problem is I don't have much experience with using algorithms so I was hoping maybe someone can help me get started. Thanks\
Edited by: ncr7 on Jul 10, 2009 10:08 AM

Hi Stuart
Maybe this helps you.
Thomas
Using LV8.0
Don't be afraid to rate a good answer...
Attachments:
Plots.vi ‏65 KB

Similar Messages

  • Polynomial fitting for scatter plot

    Hi all, 
    I was wondering if there is any way to generate a polynomial fit to a scatter plot just like in excel. The data I am trying to fit has several y values for each x value. 
    Thanks
    Krish
    Solved!
    Go to Solution.

    Well, my "solution" above is a bit misleading, because the polynomial fit of course does NOT depend on the x ordering. If the x-values are scranbled as in your case, a maybe better solution would be to simply create a linear x-ramp over the data range and use polynomial evaluation to calculate a smooth best fit line. This has also the advantage tha a smooth curve is generated even if the data points are sometimes far apart.
    Here is one possible modification to show the technique.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    Scatterplot_fitting_MODCA2.vi ‏13 KB

  • Axis scale for scatter plots

    I'm trying to create a specialized scatter plot, which functions similar to Excel's scatter plot. I'm having problems determining what the min and max values should be for the axes. I would like the program to determine from the input data what the initial min and max values should be on the x- and y-axis, the user can adjust later.
    So, I don't want the program to just look at the maximum value imported and round up. For instance, data = {523.7, 514.4, 271.8, 128.5}. The max value is 523.7, round up to 524. Instead, I would like to program to make 600 the largest value on the axis, because that makes it nice round number for the user to view the dataset.
    Then, I thought it really depends on the range of the data. For instance, data = {523.4, 523.8, 523.2, 522.8, 523.9}. Here, the range is very small, so it doesn't make sense to have 600 the largest value on the scale. The largest value should be 524 or 525, and the small value on the axis scale should be 521 or 522.
    Has anyone else ever worked with this problem, or have a good solution? I would really appreciate it, I've spend way too many days working on this.
    Thank you,
    Joe

    This is off the top of my head and based on a slight variation of your data.
    data: 52.34, 52.38, 52.32, 52.28, 52.39
    min=52.28 max=52.39 range=0.11
    Looking at the range we see it is "on the order of" 0.1. Ie, it is closer to the next lower power of 10 (0.1) than it is to the next higher one (1.0). So we round min down to the next lowest multiple of 0.1 (52.2) and round max up (52.4). 52.2 and 52.4 can serve as the nice numbers.
    The range is just a little bigger than a power of 10, so it might be a good idea to check what happens when it's a little less.
    data: 135 226 141 143 etc
    min=135 max=226 range=91
    range is on the order of 100, and the nice numbers are 100 and 300.
    As a variation on this strategy if we always find the power of 10 below the range (10 in the second example) we get a tighter fit but the numbers are slightly less nice - 130 and 220.
    (I'm pretty sure I've seen - and used! - some java software from the Internet somewhere to find the best scale for axes, so it might pay to look around)
    Had to edit my second example and, while I was waiting, found what I have used for this sort of thing: http://geosoft.no/software/index.html (The NiceNumbers class - it finds numbers along a range suitable for major and minor "ticks" but, if memory serves me correctly it extends the range so that the ends are nice too.)

  • How do I tune TCP SYN resend/retransmit rate for satellite?

    On a satellite internet connection MacOSX (and, I believe, iPhones) have excessively aggressive SYN resend timing.
    The existing settings make iTunes and SSL based services (banking, email etc) unreliable and often unworkable.
    Plain HTTP (most web browsing) gives the appearance of working because browsers quietly retry.
    I have been unable to find a setting in Preferences or sysctl to adjust this. And of course there's nothing useful on an iPhone. It would be helpful if there was some switch for "satellite" or "high latency" networks.
    Summary:
    When combined with the (common) TCP accelleration in a satellite modem, TCP connections from a Mac over satellite often get reset right at the start when the connection is commencing because of a race condition between the modem's stateful connection proxying and MacOSX's excessively rapid SYN resends.
    Workaround:
    Running a proxy between the Mac and the modem (in our case, in our firewall) where the proxy runs on a more conventional machine with much slower (normal) SYN resend times seems to work around the issue by making the Mac's connection to the proxy, and the proxy's connection over the satellite connection. Because the proxy's host has better TCP behaviour, the connections succeed.
    Detailed problem description and explaination:
    At times, SSL connections (HTTPS, POP3S, IMAPS) and other connections receive a batch of RST packets just after setup, leading to connection refused or connection reset by peer. Depending on the app, you get an assortment of errors messages of varying vagueness. iTunes is especailly useless here, just saying an unknown error occurred.
    For something that reports the OS-level error you get message like this:
    socket error ([Errno 54] Connection reset by peer)
    Generally, if the connection succeeds it will stay up. The failure occurs at connection setup time.
    From running tcpdumps on my firewall when this is happening, the behaviour is as follows:
    For background to understand what follows: a TCP connection is established by you sending a SYN (synchronise) packet to the far end. The far end replies with a SYN/ACK acknowledging the connection. You then send an ACK ackowledging receipt of the SYN/ACK. And then you send and receive data packets.
    A successful connection looks like this (you may need to make your window rather wide):
    16:47:47.896426 172.16.3.7.50142 > X.X.X..995: S 2233798023:2233798023(0) win 65535 <mss 1460,nop,wscale 4,nop,nop,timestamp 1306458055 0,sackOK,eol> (DF)
    16:47:48.597903 172.16.3.7.50142 > X.X.X.X.995: S 2233798023:2233798023(0) win 65535 <mss 1460,nop,wscale 4,nop,nop,timestamp 1306458755 0,sackOK,eol> (DF)
    16:47:48.643500 X.X.X.X.995 > 172.16.3.7.50142: S 0:0(0) ack 2233798024 win 13312 <mss 1321>
    16:47:48.644794 172.16.3.7.50142 > X.X.X.X.995: . ack 1 win 65535 (DF)
    16:47:48.645639 172.16.3.7.50142 > X.X.X.X.995: P 1:307(306) ack 1 win 65535 (DF)
    So: the normal SYN, a duplicate SYN 701ms later (much too early), a SYN/ACK from the far end and an ACK for that from  this end. And then normal traffic.
    An unsuccessful connection looks like this:
    16:48:11.094536 172.16.3.7.50144 > X.X.X.X.995: S 2181400205:2181400205(0) win 65535 <mss 1460,nop,wscale 4,nop,nop,timestamp 1306481128 0,sackOK,eol> (DF)
    16:48:11.797141 172.16.3.7.50144 > X.X.X.X.995: S 2181400205:2181400205(0) win 65535 <mss 1460,nop,wscale 4,nop,nop,timestamp 1306481827 0,sackOK,eol> (DF)
    16:48:12.099393 172.16.3.7.50144 > X.X.X.X.995: S 2181400205:2181400205(0) win 65535 <mss 1460,nop,wscale 4,nop,nop,timestamp 1306482127 0,sackOK,eol> (DF)
    16:48:12.400934 172.16.3.7.50144 > X.X.X.X.995: S 2181400205:2181400205(0) win 65535 <mss 1460,nop,wscale 4,nop,nop,timestamp 1306482427 0,sackOK,eol> (DF)
    16:48:12.702356 172.16.3.7.50144 > X.X.X.X.995: S 2181400205:2181400205(0) win 65535 <mss 1460,nop,wscale 4,nop,nop,timestamp 1306482727 0,sackOK,eol> (DF)
    16:48:13.003581 X.X.X.X.995 > 172.16.3.7.50144: S 0:0(0) ack 2181400206 win 13312 <mss 1321>
    16:48:13.005832 172.16.3.7.50144 > X.X.X.X.995: S 2181400205:2181400205(0) win 65535 <mss 1460,nop,wscale 4,nop,nop,timestamp 1306483028 0,sackOK,eol> (DF)
    16:48:13.006593 X.X.X.X.995 > 172.16.3.7.50144: R 1:1(0) win 0
    16:48:13.007379 172.16.3.7.50144 > X.X.X.X.995: . ack 1 win 65535 (DF)
    16:48:13.007778 172.16.3.7.50144 > X.X.X.X.995: P 1:307(306) ack 1 win 65535 (DF)
    16:48:13.008437 X.X.X.X.995 > 172.16.3.7.50144: R 1:1(0) win 0
    16:48:13.009220 X.X.X.X.995 > 172.16.3.7.50144: R 1:1(0) win 0
    A normal SYN, which gets repeated 703ms later, then 302ms after that, then 301ms later, then 302ms later. Then a SYN/ACK from the far end 2097 milliseconds after the first SYN. Then yet another repeated SYN from our end 303ms after the last SYN, then immediately an RST. Our ACK follows (probably already dispatched by the Mac before the RST, but arriving at the firewall just after the RST) and a PUSH with the first data. Two more immediate RSTs come back, presumably for each of these data packets.
    By comparison, our BSD firewall resends the first SYN 6 seconds after the original, then even slower. Comparsed to 600-700ms, then every 300ms from the Mac. The Mac's resends interact very badly with sat modem TCP acceleration and sat latency.
    There seem to be a few things going on here:
    Firstly, something is sending too many SYN packets. There is no need to send repeated SYNs every 300ms. Certainly the best round trip latency over a satellite is about 700ms. The coincidence of the satellite latency and the first resend time probably exacerbates things.
    Secondly, sending a SYN _after_ the far end's SYN/ACK has come back seems to elicit an RST packet. I think this is because the modem has established state for the connection because it has seen the far end's reply, and is rejecting what it now thinks is an attempt to set up a new connection using the same ports (forbidden).
    Third, this happens more at times of congestion, because the SYN/ACK takes a little longer to come back.
    Fourth, the immediacy of the RST packets seems to suggest the RSTs are coming from the modem. So it is probably doing TCP accelleration, and that is producing the RSTs.
    There are two problems here:
    Up front, the Mac is producing SYNs too often when starting a connection. This exacerbates the problem into something that happens frequently (when it happens at all). This may be TCP "fast mode", but regardless I cannot seem to turn it off.
    Second, one could argue that that modem is being overly strict about rejecting the extra SYN. Probably better to pass it through to the far end and let that decide whether to RST it. The modem is  doing TCP accelleration (which is fine – it permits better behaviour once the connection is established) but is considering the connection "established" too early. It seems to do it on seeing the SYN/ACK, instead of waiting to see the third packet (the ACK).
    I also suspect this happens with plain HTTP as well, but that browsers hide it by retrying connections. The modem is not going to get fixed.
    While I think I'm working around this in my firewall now by diverting all outbound satellite connections through a proxy, many users will not have that option, nor any ability to diagnose the issue. They'll just see "Macs don't work on satellite". I'm not alone; there is a scattering of posts on Whirlpool recounting similar symptoms on satellite with Macs.

    Hi Peter,
    Simultaneous scanning attacks can be achived when the attack is launched with a botnet. At that moment "n" number of systems are launching attack without their knowledge.
    Regards,
    Anim Saxena
    Community Manager,
    *Rate helpful post*

  • Trendline in Scatter plot

    Hi,
    I have a couple question on Power View 2010
    1. I want to know if I can plot regression Trendlines(Linear/polynomial/power) on scatter plot?
    2. Navigation between pages- Is it possible to navigate between report pages in Power View 2010 by passing parameters from the first page to the next page?
    3. I have a report that has 3 pages. I want to create 2 pages in SSRS 2012 and one in Power View 2010. Is it possible to navigate between these applications and also pass parameters in the URL?
    Thanks in advance.
    Ankit

    The reason why it hangs is because you have 2 event structures inside a loop. You should only have one event structure in a loop. This is documented in the LabVIEW Help. With 2 event structures one of them will block the other.
    Your code is also about 3 times larger than it needs to be:
    To create the array of names for the dropdowns you only need to autoindex a for-loop from the 2D array of data and use the Format Into String function.  You don't actually need to use the values - you only need to autoindex the for-loop.
    Using Delete From Array and Reshape Array just to pull out a row is simply silly (not to mention a Rube Goldberg). That's what Index Array is for.
    In the Cursor Move event case you only need one function: Index Array. The point index is already available to you from the event case's data.
    Half of the code really belongs outside of the while loop since none of that data ever changes, so what's the point of regenerating it each time?
    Instead of using 2 Index Array functions just to get the list of names, wire a True to the Read From Spreadsheet File's transpose? input and use the first row output.
    I've attached a simplified version of your VI.
    Attachments:
    PCoption2_MOD.vi ‏34 KB

  • How do you make a horizontal average line in a scatter plot?

    In any version of Numbers, is there a way to make a horizontal average trendline?  Not a "moving average", but one line that is the average that goes through the data points on a scatter plot.

    sflakg wrote:
    hit a few roadblocks. 
    I tried:
    1. using the crop tool to make the canvas bigger with a transparent background.
    2. Used lasso tool over people in group shot (total of 5) and saved the selection
    3. Tried content aware scale to raise the image, but it keeps stretching out the people. 
    Any thoughts on what else I could try?
    Rather than trying to stretch it taller, try to squeeze it horizontally.  There are methods for telling it what to protect in the image if it gets touchy.
    Another possibility is to use Content Aware Fill to make up part at the top and bottom, without any stretching.
    -Noel

  • How to select all (dots) in a scatter plot matrix?

    I have a scatter plot matrix, and I'm manually changing the color of each trend line, which probably isn't the best way but it's an easy but time consuming way to do it. I can't feasibly change the color/stroke of every single scatter plot dot in every single scatter plot graph of the matrix. I'm trying various Select --> Same or Select --> All but it keeps trying to change everything, from the line to the border to the dots. I am not sure if I can group the dots and select all or something. Is there a way to select all of the dots and just the dots?

    I feel like I should have posted screenshots of my graphs for all of my questions. In any event I've been manually changing the colors of the lines and the dots (see the few graphs on the left, I highlighted the inside of the graph and changed the dots and the line and then just manually changed the line back)

  • Highlighting a single data point in a scatter plot - Numbers'09

    Is there a way to highlight a single data point on a scatter plot in Numbers'09 (or point to it using a line from each respective coordinate on the x & y axis).
    I don't think it matters but the data point i am looking to highlight is the [highest y value/2]... and of course its respective x coordinate once you plug the y value into the equation ( y = f(x) ) and solve for x.

    Here is my own tip :
    As you see, I use two sets of values.
    In the second one I define only the yValue of the data point which must be "highlighted".
    Yvan KOENIG (VALLAURIS, France) jeudi 10 février 2011 20:49:32

  • Swap X and Y in a Scatter Plot

    Seems like this should have a simple answer. I have a table of data, and I'd like to generate a scatter plot of two columns. The plot comes out fine, but I want to "swap" the X and Y axis in the resulting chart.
    Is there a simple way to do this? I can't find anything in the chart popup-menu, the inspector, or the application menus.
    Cheers
    Mike

    Michael,
    This is a user to user forum, and I'll admit that I don't have a great grip on Numbers Charts, so I may be missing something myself. However, I don't know of an easy way to swap the axes either. What I would do is to create an auxiliary column that repeats the X data in a column just to the right of the Y data. Then I would create a new chart that plots the second and third columns, effectively reversing the axes. The third column can be hidden. Of course you could also just reverse your x and y columns before plotting, but that might be more disruptive to your overall table organization.
    Jerry
    Update:
    I believe that, after some experimentation, I have a better method for you. Highlight the X Range only and create a Scatter Chart. The Chart will be blank since you have not yet supplied a Y range. Then highlight your Y range and drag it to the blank chart. A new Y series will be inserted.
    Hope this works for you.
    Jerry
    Message was edited by: Jerrold Green1

  • How do I connect the scatter plot points in the newest numbers?

    I just made a scatter plot for biology and I was wondering how I connect the points with lines

    It sounds like all of your wireless clients (computers & printer) are having issues with the overall signal quality of your Wi-Fi network.
    I suggest that you check out the following Apple Support article on the sources of Wi-Fi interference and try to identify & eliminate as many as possible to improve your wireless network.
    You may also find the following Macworld article helpful on troubleshooting for Wi-Fi interference. Although this article is specific to the AirPort routers, it can equally apply to any manufacturers' product.

  • Plotting Data Incorrectly in a Scatter Plot

    I am trying to plot a graph using a scatter plot in Numbers, and all of the data points are correct except for one. If you look at the data, you can see that the point that is at .00360 on the y axis(the highest point on the graph) is supposed to have an x value of .001 but instead it is too far to the right (closer to .1). This is throwing off my graph and I really need to get this fixed. Below are the links to the data table and the graph. Thanks for any help!
    http://img686.imageshack.us/img686/7/picture3wc.png
    http://img20.imageshack.us/img20/2035/picture4pe.png

    Hi Tom,
    I tried recreating your table and chart, typing in the numbers rather than having any of them calculated, and manually assigning min and max values to both axes to match yours.
    The chart came out with all data points where expected.
    I did notice another difference in the curve though—where yours shows three data points forming a concave-toward-the-origin section (at the leftmost portion that is correctly plotted), mine shows four data points. That led me to count the points and find that there is one point—(0.139,0.00309)—missing from your chart.
    While I don't see from doing this what may be wrong with your chart, it did bring a workaround to mind that should get you a useable chart before your deadline.
    Insert a new (plain) table into your document and resize it to the minimum needed to hold the two columns of data.
    Select the cells containing the X axis data and Copy.
    Click on cell A1 of the new table and go Edit > Paste Values.
    Repeat for the Y axis data, placing it in column B of the new table.
    Select the data block in the new table then insert a scatter chart.
    If you still get the error, manually edit the data in the cells causing the error.
    That should get you through the short term. I think someone may have to look at the actual file to solve the underlying problem.
    Regards,
    Barry

  • How to Draw 3-D scatter plot in J2ME?

    HI all
    I am new in J2ME And I need to draw a three dimensional scatter plot in J2ME application. Can any body help me how to do so? It's urgent and I am eagerly waiting for your response. Even if you can tell me how to draw a 3-D point like (x,y,z)=(3,5,8) in J2ME?

    I've removed the thread you started in the Java3D forum.
    db

  • XY scatter plot in xcelsius

    Hi,
    Any XY scatter plot in xcelsius ,can you pass on me the add-ons url.
    FYI:I have already tried out xy chart in xcelsius.It is not giving the exact visuval.
    Thanks ,
    satish.p

    Hi Peter,
    This is one of the most requested features for the JFreeChart project. It hasn't been added yet, but it is very near the top of the to-do list.
    Regards,
    Dave Gilbert
    JFreeChart Project Leader
    P.S. For anyone who is interested in JFreeChart, the link is:
    http://www.object-refinery.com/jfreechart/index.html

  • Scatter plot with dates

    The one reason i use scatter plots is to make the X axis my dates. so i see the duration between data points as real distance horizontally. I cannot for the life of me figure out how to do this on the ipad. It seems to not have a way of tweaking the data source so that I can tell it that column B (dates) is my x axis, and column C (lets say remaining data MB's, lets use something everyone on a 250 plan can associate with) is my actual data point to plot.
    Anyone figure out this one yet?
    Thanks,
    Jason

    ok, i was able to 'kinda' get it to work (not the labelling, but the scatter plot). It seems you have to select the date column first when selecting data, then drag over to the columns of plotted data and it -might- recognize the dates as the x axis. it took me a good 5 minutes playing to get it to go right.
    I also had to check the "Share X values" option under the gear button.
    as for the labels, it has a "Number format" and a "Same as source", but if you select same as source, it doesn't give you any choices but plain number for formatting. Same as source doesn't work at all right now for dates.
    We both need to submit tickets with apple.com\feedback to let them know. I noticed other little fixes that were not documented in the 1.1 update that people had been submitting tickets on the past few weeks.
    Thanks,
    Jason
    Jason

  • Scatter plot line width

    First off, I'm using the trial version of iWork '09. So I want to eventually put a chart into keynote to present to my colleagues, however, putting the chart up on a projector requires me to have a thicker plot line. So if I use a scatter plot, my axis' turn out great, but I cannot adjust the line's width. I don't want symbols, I just want a line connecting the points. If I use the line chart instead of the scatter, the x-axis displays "Untitled 1, Untitled 2" as the labels. I can't change them to the corresponding numbers which is annoying. I can change everything else fine: axis line width, font size, etc. Its just eh connecting line I'm having trouble with

    Actually, found a roundabout way to do this. Have to use line chart and in the x-axis label, you have to insert your formula for what cells you want such as Table 1 :: B212:B912 and just set the category counter to only include one label every so many counts. Kind of a pain, but works. However, can't have only the few tickmarks (should be 5 labels and corresponding 5 tickmarks in my case, but I have 5 labels and 700 tickmarks), all are shown instead. It tacks all of the labels individually, but you can choose which ones are shown, but cannot remove tickmarks... Any ideas?
    Message was edited by: chemgoof

Maybe you are looking for

  • No Thumbnails in Cover Flow View

    I used to be able to view all image files at the top of the windo in cover flow view. Now, instead of showing me the image, it shows me icons. Like .jpg's show up as a preview icon. I want to see the image itself so I don't have to open every file. I

  • How can I schedule my Bex report to execute in background

    My Bex program takes more than 20 mins to run and it always hangs up my PC especially when I am trying to do something else in EXCEL. How can I schedule to run the report in background, whether from BEX or anywhere as long as I can get the report out

  • Adobe Reader 9 Maximized GUI issue?

    Could someone here that uses Adobe Reader 9.33 confirm if the GUI gets messed up when making Adobe Reader Maximized. As you can see in the screenshot link below on my computer at random time when I make Adobe Reader Maximized the border of the window

  • Adobe PDF converter add-on to Adobe Reader.

    Why can't I convert a pdf to word? I purchased it and it acts as if I have not purchased the conversion software.

  • Difficulty with Format Value for Time Format

     I have a vi where the current time is split out of an Analog waveform (using Get Waveform Components), and subtracted from a starting time, to result in  a relative time since the test began.  This may not be the most elegant way of doing it, but it