| Server IP : 121.121.20.254 / Your IP : 216.73.217.141 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Program Files/LibreOffice/help/en-US/text/schart/01/ |
Upload File : |
<!DOCTYPE html>
<html lang="en-US" dir="ltr">
<head>
<base href="../../../../">
<noscript><meta http-equiv="refresh" content="0; URL=../../../../en-US/noscript.html"></noscript>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Chart Type XY</title>
<link rel="shortcut icon" href="media/navigation/favicon.ico">
<link type="text/css" href="normalize.css" rel="Stylesheet">
<link type="text/css" href="prism.css" rel="Stylesheet">
<link type="text/css" href="default.css" rel="Stylesheet">
<script type="text/javascript" src="polyfills.js"></script><script type="text/javascript" src="languages.js"></script><script type="text/javascript" src="en-US/langnames.js"></script><script type="text/javascript" src="flexsearch.debug.js"></script><script type="text/javascript" src="prism.js"></script><script type="text/javascript" src="help2.js" defer></script><script type="text/javascript" src="a11y-toggle.js" defer></script><script type="text/javascript" src="paginathing.js" defer></script><script type="text/javascript" src="en-US/bookmarks.js" defer></script><script type="text/javascript" src="en-US/contents.js" defer></script><script type="text/javascript" src="help.js" defer></script><meta name="viewport" content="width=device-width,initial-scale=1">
</head>
<body>
<header id="TopLeftHeader"><a class="symbol" href="en-US/text/shared/05/new_help.html"><div></div></a><a class="logo" href="en-US/text/shared/05/new_help.html"><p dir="auto">LibreOffice 24.2 Help</p></a><div class="dropdowns"><div class="modules">
<button type="button" data-a11y-toggle="modules-nav" id="modules" aria-haspopup="true" aria-expanded="false" aria-controls="modules-nav">Module</button><nav id="modules-nav" hidden=""></nav>
</div></div></header><aside class="leftside"><input id="accordion-1" name="accordion-menu" type="checkbox"><label for="accordion-1" dir="auto">Contents</label><div id="Contents" class="contents-treeview"></div></aside><div id="SearchFrame"><div id="Bookmarks">
<input id="search-bar" type="search" class="search" placeholder="Search in bookmarks for chosen module" dir="auto"><div class="nav-container" tabindex="0"><nav class="index" dir="auto"></nav></div>
</div></div>
<div id="DisplayArea" itemprop="softwareHelp" itemscope="true" itemtype="http://schema.org/SoftwareApplication">
<a name="bm_id84231"></a><meta itemprop="keywords" content="scatter charts">
<meta itemprop="keywords" content="XY charts">
<meta itemprop="keywords" content="chart types,XY (scatter)">
<meta itemprop="keywords" content="error indicators in charts">
<meta itemprop="keywords" content="error bars in charts">
<meta itemprop="keywords" content="averages in charts">
<meta itemprop="keywords" content="statistics in charts">
<meta itemprop="keywords" content="variances in charts">
<meta itemprop="keywords" content="standard deviation in charts">
<h1 id="hd_id9346598" dir="auto">
<a name="type_xy"></a>Chart Type XY (Scatter)
</h1>
<p id="par_id2003845" class="paragraph" dir="auto">On the first page of the <a target="_top" href="en-US/text/schart/01/wiz_chart_type.html">Chart Wizard</a> you can choose a chart type. </p>
<a name="howtoget"></a><div class="howtoget">
<div><p class="howtogetheader" dir="auto"><a name="wie"></a>To access this command...</p></div>
<div class="howtogetbody">
<div class="embedded">
<a name="wiz"></a>
<p id="par_id9631641" class="paragraph" dir="auto">Choose <span class="emph">Insert - Chart...</span></p>
<div class="embedded">
<a name="wiz_icon"></a>
<div class="icontable">
<div class="iconcell">
<p id="par_id441525135741575" class="paragraphintable" dir="auto">
<img src="media/icon-themes/cmd/sc_drawchart.svg" class="iconimage" alt="Icon" style="width:21px;height:21px" itemprop="icon" itemscope="true" itemtype="http://schema.org/ImageObject">
</p>
</div>
<div class="iconcell">
<p id="par_id161525135741575" class="paragraphintable" dir="auto"><span class="emph">Insert Chart</span></p>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<h2 id="hd_id7757194" dir="auto">XY (Scatter)</h2>
<p id="par_id5977965" class="paragraph" dir="auto">An XY chart in its basic form is based on one data series consisting of a name, a list of x‑values, and a list of y‑values. Each value pair (x|y) is shown as a point in a coordinate system. The name of the data series is associated with the y‑values and shown in the legend.</p>
<p id="par_id4381847" class="paragraph" dir="auto">Choose an XY chart for the following example tasks:</p>
<ol itemprop="HowTo" itemscope="true" itemtype="http://schema.org/HowToSection" dir="auto">
<li itemprop="itemListElement" itemscope="true" itemtype="http://schema.org/HowToStep" dir="auto">
<p id="par_id1336710" class="paragraph" dir="auto">scale the x‑axis</p>
</li>
<li itemprop="itemListElement" itemscope="true" itemtype="http://schema.org/HowToStep" dir="auto">
<p id="par_id1221655" class="paragraph" dir="auto">generate a parameter curve, for example a spiral</p>
</li>
<li itemprop="itemListElement" itemscope="true" itemtype="http://schema.org/HowToStep" dir="auto">
<p id="par_id3397320" class="paragraph" dir="auto">draw the graph of a function</p>
</li>
<li itemprop="itemListElement" itemscope="true" itemtype="http://schema.org/HowToStep" dir="auto">
<p id="par_id7657399" class="paragraph" dir="auto">explore the statistical association of quantitative variables</p>
</li>
</ol>
<p id="par_id8925138" class="paragraph" dir="auto">Your XY chart may have more than one data series.</p>
<h2 id="hd_id5461897" dir="auto">XY Chart Variants</h2>
<p id="par_id8919339" class="paragraph" dir="auto">You can choose an XY chart variant on the first page of the <a target="_top" href="en-US/text/schart/01/wiz_chart_type.html">Chart Wizard</a>, or by choosing <span class="menuitem">Format - Chart Type </span>for a chart in edit mode.</p>
<p id="par_id4634235" class="paragraph" dir="auto">The chart is created with default settings. After the chart is finished, you can edit its properties to change the appearance. Line styles and icons can be changed on the <span class="emph">Line</span> tab page of the data series properties dialog.</p>
<p id="par_id5482039" class="paragraph" dir="auto">Double-click any data point to open the <span class="menuitem">Data Series</span> dialog. In this dialog, you can change many properties of the data series.</p>
<p id="par_id0805200810492449" class="paragraph" dir="auto">For 2D charts, you can choose <span class="menuitem">Insert - Y Error Bars</span> to enable the display of error bars.</p>
<p id="par_id6221198" class="paragraph" dir="auto">You can enable the display of mean value lines and trend lines using commands on the Insert menu.</p>
<h3 id="hd_id1393475" dir="auto">Points only</h3>
<p id="par_id6571550" class="paragraph" dir="auto">Each data point is shown by an icon. LibreOffice uses default icons with different forms and colors for each data series. The default colors are set in <span id="swlnsystextschart01type_xyxhp_1" class="switchinline"><span hidden="true" id="MACtextschart01type_xyxhp_1" class="MAC"><span class="menuitem">LibreOffice - Preferences</span></span><span hidden="true" id="defaulttextschart01type_xyxhp_1"><span class="menuitem">Tools - Options</span></span></span><span class="menuitem"> - Charts - Default Colors</span>. </p>
<h3 id="hd_id5376140" dir="auto">Lines Only</h3>
<p id="par_id4408093" class="paragraph" dir="auto">This variant draws straight lines from one data point to the next. The data points are not shown by icons. </p>
<p id="par_id7261268" class="paragraph" dir="auto">The drawing order is the same as the order in the data series. Mark <span class="emph">Sort by X Values</span> to draw the lines in the order of the x values. This sorting applies only to the chart, not to the data in the table.</p>
<h3 id="hd_id6949369" dir="auto">Points and Lines</h3>
<p id="par_id9611499" class="paragraph" dir="auto">This variant shows points and lines at the same time.</p>
<h3 id="hd_id6765953" dir="auto">3D Lines</h3>
<p id="par_id7422711" class="paragraph" dir="auto">The lines are shown like tapes. The data points are not shown by icons. In the finished chart choose <a target="_top" href="en-US/text/schart/01/three_d_view.html">3D View</a> to set properties like illumination and angle of view.</p>
<h3 id="hd_id239265" dir="auto">Smooth Lines</h3>
<p id="par_id7957396" class="paragraph" dir="auto">Choose <span class="emph">Smooth</span> from the <span class="emph">Line type</span> dropdown to draw curves instead of straight line segments.</p>
<p id="par_id1202124" class="paragraph" dir="auto">Click <span class="emph">Properties</span> to set details for the curves.</p>
<p id="par_id5989562" class="paragraph" dir="auto">
<span class="emph">Cubic Spline</span> interpolates your data points with polynomials of degree 3. The transitions between the polynomial pieces are smooth, having the same slope and curvature. </p>
<p id="par_id6128421" class="paragraph" dir="auto">The <span class="emph">Resolution</span> determines how many line segments are calculated to draw a piece of polynomial between two data points. You can see the intermediate points if you click any data point.</p>
<p id="par_id9280373" class="paragraph" dir="auto">
<span class="emph">B-Spline</span> uses a parametric, interpolating B-spline curve. Those curves are built piecewise from polynomials. The <span class="emph">Degree of polynomials</span> sets the degree of these polynomials.</p>
<h3 id="hd_id5031251" dir="auto">Stepped Lines</h3>
<p id="par_id1449076" class="paragraph" dir="auto">Choose <span class="emph">Stepped</span> from the <span class="emph">Line type</span> dropdown to draw lines which step from point to point instead of straight line segments.</p>
<p id="par_id1202125" class="paragraph" dir="auto">Click <span class="emph">Properties</span> to set details for the curves.</p>
<p id="par_id9811476" class="paragraph" dir="auto">There are 4 different step types:</p>
<ul itemprop="Unordered" itemscope="true" itemtype="http://schema.org/ItemList" dir="auto">
<li itemprop="itemListElement" itemscope="true" itemtype="http://schema.org/ItemListUnordered" dir="auto">
<p id="par_id9078573" class="paragraph" dir="auto"><img src="media/icon-themes/chart2/res/step_start_30.svg" class="iconimage" alt="Start step icon" style="width:30px;height:30px" itemprop="icon" itemscope="true" itemtype="http://schema.org/ImageObject"></p>
<p id="par_id9047365" class="paragraph" dir="auto">Start with horizontal line and step up vertically at the end.</p>
</li>
<li itemprop="itemListElement" itemscope="true" itemtype="http://schema.org/ItemListUnordered" dir="auto">
<p id="par_id05495673" class="paragraph" dir="auto"><img src="media/icon-themes/chart2/res/step_end_30.svg" class="iconimage" alt="End step icon" style="width:30px;height:30px" itemprop="icon" itemscope="true" itemtype="http://schema.org/ImageObject"></p>
<p id="par_id439028" class="paragraph" dir="auto">Start to step up vertically and end with horizontal line.</p>
</li>
<li itemprop="itemListElement" itemscope="true" itemtype="http://schema.org/ItemListUnordered" dir="auto">
<p id="par_id9673426" class="paragraph" dir="auto"><img src="media/icon-themes/chart2/res/step_center_x_30.svg" class="iconimage" alt="Center X icon" style="width:30px;height:30px" itemprop="icon" itemscope="true" itemtype="http://schema.org/ImageObject"></p>
<p id="par_id4069483" class="paragraph" dir="auto">Start with horizontal line, step up vertically in the middle of the X values and end with horizontal line.</p>
</li>
<li itemprop="itemListElement" itemscope="true" itemtype="http://schema.org/ItemListUnordered" dir="auto">
<p id="par_id56635427" class="paragraph" dir="auto"><img src="media/icon-themes/chart2/res/step_center_y_30.svg" class="iconimage" alt="Center Y icon" style="width:30px;height:30px" itemprop="icon" itemscope="true" itemtype="http://schema.org/ImageObject"></p>
<p id="par_id0679473" class="paragraph" dir="auto">Start to step up vertically to the middle of the Y values, draw a horizontal line and finish by stepping vertically to the end.</p>
</li>
</ul>
<a name="relatedtopics"></a><div class="relatedtopics">
<p class="related" itemprop="mentions" dir="auto"><a name="related"></a><span class="emph">Related Topics</span>
</p>
<div class="relatedbody" itemprop="mentions">
<div class="embedded"><p class="embedded" dir="auto"><a target="_top" href="en-US/text/shared/guide/chart_insert.html">Inserting Charts</a>
</p></div>
<div class="embedded"><p class="embedded" dir="auto"><a target="_top" href="en-US/text/schart/01/wiz_chart_type.html">Chart Wizard - Chart Type</a>
</p></div>
<div class="embedded"><p class="embedded" dir="auto"><a target="_top" href="en-US/text/schart/01/wiz_data_range.html">Chart Wizard - Data Range</a>
</p></div>
<div class="embedded"><p class="embedded" dir="auto"><a target="_top" href="en-US/text/schart/01/wiz_data_series.html">Chart Wizard - Data Series</a>
</p></div>
<div class="embedded"><p class="embedded" dir="auto"><a target="_top" href="en-US/text/schart/01/wiz_chart_elements.html">Chart Wizard - Chart Elements</a>
</p></div>
</div>
</div>
</div>
<div id="DonationFrame"></div>
<footer><div id="DEBUG" class="debug">
<h3 class="bug">Help content debug info:</h3>
<p dir="auto">This page is: <a href="https://opengrok.libreoffice.org/xref/help/source/text/schart/01/type_xy.xhp" target="_blank">/text/schart/01/type_xy.xhp</a></p>
<p dir="auto">Title is: Chart Type XY</p>
<p id="bm_module" dir="auto"></p>
<p id="bm_system" dir="auto"></p>
<p id="bm_HID" dir="auto"></p>
</div></footer>
</body>
</html>