Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Documents and Graphics
Palette
Commits
959faa61
Commit
959faa61
authored
Jul 29, 2020
by
Nicolas Lenz
Browse files
Update script
parent
c6eb021e
Changes
1
Hide whitespace changes
Inline
Side-by-side
palette.r
100644 → 100755
View file @
959faa61
#!/usr/bin/env Rscript
library
(
"colorspace"
)
library
(
"colorspace"
)
n
<-
11
# Number of colors in each palette
n
<-
11
# Number of colors in each palette
...
@@ -14,4 +16,4 @@ print(secondary_str)
...
@@ -14,4 +16,4 @@ print(secondary_str)
png
(
filename
=
"plot.png"
,
width
=
800
,
height
=
1000
)
png
(
filename
=
"plot.png"
,
width
=
800
,
height
=
1000
)
specplot
(
rgb
=
TRUE
,
primary
,
secondary
)
specplot
(
rgb
=
TRUE
,
primary
,
secondary
)
dev
.off
()
graphics
.off
()
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment