Skip to content

Commit

Permalink
still has some bugs about deal with the layout of the svg elements
Browse files Browse the repository at this point in the history
  • Loading branch information
xieguigang committed Jan 29, 2024
1 parent 172e380 commit f94d7c3
Show file tree
Hide file tree
Showing 4 changed files with 185 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"r.lsp.promptToInstall": false
}
6 changes: 6 additions & 0 deletions test/lineTest.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,10 @@ bitmap(file = "./line_sin.png", width = 2400, height = 1600) {
ggplot(line_data, aes(x = "x", y = "y"), padding = "padding: 200px 500px 200px 200px;")
+ geom_line(width = 8, show.legend = TRUE, color = "Jet")
;
}

svg(file = "./line_sin.svg", width = 2400, height = 1600) {
ggplot(line_data, aes(x = "x", y = "y"), padding = "padding: 200px 500px 200px 200px;")
+ geom_line(width = 8, show.legend = TRUE, color = "Jet")
;
}
Binary file modified test/line_sin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit f94d7c3

Please sign in to comment.