From cc7ce2b93ba49e7424cef3c1fb69b36ccd2f2e3d Mon Sep 17 00:00:00 2001 From: sprig Date: Thu, 9 Nov 2023 16:35:07 -0800 Subject: [PATCH] Update input_data.md Fix typo --- docs/src/input_data.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/input_data.md b/docs/src/input_data.md index 026d9d062d..463f74dfc3 100644 --- a/docs/src/input_data.md +++ b/docs/src/input_data.md @@ -23,7 +23,7 @@ can have unique behavior, when desired. ## [Columns are series](@id columns-are-series) -In most cases, passing a (`n` × `m`) matrix of values (numbers, etc) will create `m` series, each with `n` data points. This follows a consistent rule… vectors apply to a series, matrices apply to many series. This rule carries into keyword arguments. `scatter(rand(10,4), markershape = [:circle, :rect])` will create 4 series, each assigned the markershape vector [:circle,:rect]. However, `scatter(rand(10,4), markershape = [:circle :rect])` will create 4 series, with series 1 and 3 having markers shaped as `:circle` and series 2 and 4 having markers shaped as `:rect` (i.e. as squares). The difference is that in the first example, it is a length-2 column vector, and in the second example it is a (1 × 2) row vector (a Matrix). +In most cases, passing a (`n` × `m`) matrix of values (numbers, etc) will create `m` series, each with `n` data points. This follows a consistent rule… vectors apply to a series, matrices apply to many series. This rule carries into keyword arguments. `scatter(rand(10,4), markershape = [:circle, :rect])` will create 4 series, each assigned the markershape vector [:circle,:rect]. However, `scatter(rand(10,4), markershape = [[:circle :rect]])` will create 4 series, with series 1 and 3 having markers shaped as `:circle` and series 2 and 4 having markers shaped as `:rect` (i.e. as squares). The difference is that in the first example, it is a length-2 column vector, and in the second example it is a (1 × 2) row vector (a Matrix). The flexibility and power of this can be illustrated by the following piece of code: ```@example input_data