
:max_bytes(150000):strip_icc()/openoffice-calc-570674c53df78c7d9e983c2e.png)
Generally, the line is hard to see if you immediately click “ok”. Next, click on insert -> trend line and you will see the followingįor our purposes, want to select the “linear” option. To add a trend line you need to click on the data inside the plot so that it turns green as shown below. There are many other ways to modify the scatterplot, but we will now look at how to add a trend line. Once you add this information click “finish” and you will see the following. A legend is normally not needed when making a scatterplot. We also removed the “display legend” feature by unchecking it. In this last window, you can see that we gave the chart a title and label the X and Y axes. If you wanted you could add more data to the plot as well as label data but neither of these options apply to us. There is nothing to modify in this window. You will then see the followingīe sure to select “data series in columns” and “first row as label.” Then click next and you will see the following. To make the plot you need to select the two column with data in them and click on insert -> chart and you will see the following.īe sure to select the XY (Scatter) option and click next. Given the nature of this dataset, there was no need to make any preparation. Below are the first few rows of the data in this example. In order to make a scatterplot you need to columns of data. This post will explain how to make a scatterplot and calculate correlation in LibreOffice Calc. More info on Stack Overflow JavaScript = function () " -f ($(Get-Culture).Calendar.A scatterplot is used to observe the relationship between two continuous variables. Java Calendar now = Calendar.getInstance() Replace time with other epoch/UNIX timestamps for other week numbers. Python ().isocalendar() PERL my $weekNumber = POSIX::strftime("%V", gmtime time) Or date("W", epoch) for other week numbers. Type (here '21') is compatible with Excel/LibreOffice, 21 is ISO-8601 PHP $weekNumber = date("W")

Google Docs Spreadsheet =WEEKNUM(TODAY() 21) WEEKNUM(TODAY()) will show the week number with weeks starting on Sunday (return type = 1).

In Excel 2007 your best choice is WEEKNUM(TODAY(),2) (2=week starting Monday). Where the return type '21' is ISO-8601 (week starting on Monday). Programming routines Microsoft Excel / LibreOffice Calc =ISOWEEKNUM(TODAY())
