-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
More symbols for gl2d and gl3d plots #1550
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
fb092cf
Add 49 more unicode symbols for scattergl symbol types
ffad7fa
revert devtools folder to master
4c2929a
Merge branch 'master' into scattergl-on-par-shapes
2bee6b2
Merge branch 'master' into scattergl-on-par-shapes
c0eb065
Changed gl_marker 'cross' back to original symbol and ran npm lint-fix
88974c3
add (svg) marker symbols mock
etpinard f68104b
add gl2d marker symbol mock
etpinard 0c8c613
add gl3d marker symbol mock
etpinard File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,143 @@ | ||
{ | ||
"data": [ | ||
{ | ||
"type": "scattergl", | ||
"x": [1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 2, 3, 4, 5, 6, 7], | ||
"y": [1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5], | ||
"mode": "markers", | ||
"text": [ | ||
"marker symbol: 'circle'", | ||
"marker symbol: 'circle-open'", | ||
"marker symbol: 'square'", | ||
"marker symbol: 'square-open'", | ||
"marker symbol: 'diamond'", | ||
"marker symbol: 'diamond-open'", | ||
"marker symbol: 'cross'", | ||
"marker symbol: 'x'", | ||
"marker symbol: 'triangle-up'", | ||
"marker symbol: 'triangle-up-open'", | ||
"marker symbol: 'triangle-down'", | ||
"marker symbol: 'triangle-down-open'", | ||
"marker symbol: 'triangle-left'", | ||
"marker symbol: 'triangle-left-open'", | ||
"marker symbol: 'triangle-right'", | ||
"marker symbol: 'triangle-right-open'", | ||
"marker symbol: 'triangle-ne'", | ||
"marker symbol: 'triangle-ne-open'", | ||
"marker symbol: 'triangle-nw'", | ||
"marker symbol: 'triangle-nw-open'", | ||
"marker symbol: 'triangle-se'", | ||
"marker symbol: 'triangle-se-open'", | ||
"marker symbol: 'triangle-sw'", | ||
"marker symbol: 'triangle-sw-open'", | ||
"marker symbol: 'pentagon'", | ||
"marker symbol: 'pentagon-open'", | ||
"marker symbol: 'hexagon'", | ||
"marker symbol: 'hexagon-open'", | ||
"marker symbol: 'hexagon2'", | ||
"marker symbol: 'star'", | ||
"marker symbol: 'star-open'", | ||
"marker symbol: 'hexagram'", | ||
"marker symbol: 'diamond-tall'", | ||
"marker symbol: 'diamond-tall-open'", | ||
"marker symbol: 'hourglass'", | ||
"marker symbol: 'hourglass-open'", | ||
"marker symbol: 'bowtie'", | ||
"marker symbol: 'bowtie-open'", | ||
"marker symbol: 'circle-cross'", | ||
"marker symbol: 'circle-x'", | ||
"marker symbol: 'square-cross'", | ||
"marker symbol: 'square-x'", | ||
"marker symbol: 'asterisk'" | ||
], | ||
"marker": { | ||
"color": "blue", | ||
"size": 20, | ||
"symbol": [ | ||
"circle", | ||
"circle-open", | ||
"square", | ||
"square-open", | ||
"diamond", | ||
"diamond-open", | ||
"cross", | ||
"x", | ||
"triangle-up", | ||
"triangle-up-open", | ||
"triangle-down", | ||
"triangle-down-open", | ||
"triangle-left", | ||
"triangle-left-open", | ||
"triangle-right", | ||
"triangle-right-open", | ||
"triangle-ne", | ||
"triangle-ne-open", | ||
"triangle-nw", | ||
"triangle-nw-open", | ||
"triangle-se", | ||
"triangle-se-open", | ||
"triangle-sw", | ||
"triangle-sw-open", | ||
"pentagon", | ||
"pentagon-open", | ||
"hexagon", | ||
"hexagon-open", | ||
"hexagon2", | ||
"star", | ||
"star-open", | ||
"hexagram", | ||
"diamond-tall", | ||
"diamond-tall-open", | ||
"hourglass", | ||
"hourglass-open", | ||
"bowtie", | ||
"bowtie-open", | ||
"circle-cross", | ||
"circle-x", | ||
"square-cross", | ||
"square-x", | ||
"asterisk" | ||
], | ||
"line": { | ||
"color": "orange", | ||
"width": 1.5 | ||
} | ||
} | ||
} | ||
], | ||
"layout": { | ||
"width": 500, | ||
"height": 500, | ||
"xaxis": { | ||
"showgrid": false, | ||
"zeroline": false, | ||
"showline": false, | ||
"showticklabels": false, | ||
"range": [0, 10] | ||
}, | ||
"yaxis": { | ||
"showgrid": false, | ||
"zeroline": false, | ||
"showline": false, | ||
"showticklabels": false, | ||
"range": [0, 6] | ||
}, | ||
"annotations": [ | ||
{ | ||
"x": 0.5, | ||
"y": 1, | ||
"xref": "paper", | ||
"yref": "paper", | ||
"text": "Add 100 (or '-open') to marker number (or string) to remove the fill color,<br>Add 200 (or '-dot') to marker number (or string) to add a dot in the middle,<br>Add 300 (or '-open-dot', 'dot-open') to marker number (or string) for both.", | ||
"font": { | ||
"size": 10 | ||
}, | ||
"align": "left", | ||
"showarrow": false, | ||
"xanchor": "center", | ||
"yanchor": "bottom" | ||
} | ||
], | ||
"hovermode": "closest" | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,163 @@ | ||
{ | ||
"data": [ | ||
{ | ||
"type": "scatter3d", | ||
"x": [1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 2, 3, 4, 5, 6, 7], | ||
"y": [1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5], | ||
"z": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], | ||
"mode": "markers", | ||
"text": [ | ||
"marker symbol: 'circle'", | ||
"marker symbol: 'circle-open'", | ||
"marker symbol: 'square'", | ||
"marker symbol: 'square-open'", | ||
"marker symbol: 'diamond'", | ||
"marker symbol: 'diamond-open'", | ||
"marker symbol: 'cross'", | ||
"marker symbol: 'x'", | ||
"marker symbol: 'triangle-up'", | ||
"marker symbol: 'triangle-up-open'", | ||
"marker symbol: 'triangle-down'", | ||
"marker symbol: 'triangle-down-open'", | ||
"marker symbol: 'triangle-left'", | ||
"marker symbol: 'triangle-left-open'", | ||
"marker symbol: 'triangle-right'", | ||
"marker symbol: 'triangle-right-open'", | ||
"marker symbol: 'triangle-ne'", | ||
"marker symbol: 'triangle-ne-open'", | ||
"marker symbol: 'triangle-nw'", | ||
"marker symbol: 'triangle-nw-open'", | ||
"marker symbol: 'triangle-se'", | ||
"marker symbol: 'triangle-se-open'", | ||
"marker symbol: 'triangle-sw'", | ||
"marker symbol: 'triangle-sw-open'", | ||
"marker symbol: 'pentagon'", | ||
"marker symbol: 'pentagon-open'", | ||
"marker symbol: 'hexagon'", | ||
"marker symbol: 'hexagon-open'", | ||
"marker symbol: 'hexagon2'", | ||
"marker symbol: 'star'", | ||
"marker symbol: 'star-open'", | ||
"marker symbol: 'hexagram'", | ||
"marker symbol: 'diamond-tall'", | ||
"marker symbol: 'diamond-tall-open'", | ||
"marker symbol: 'hourglass'", | ||
"marker symbol: 'hourglass-open'", | ||
"marker symbol: 'bowtie'", | ||
"marker symbol: 'bowtie-open'", | ||
"marker symbol: 'circle-cross'", | ||
"marker symbol: 'circle-x'", | ||
"marker symbol: 'square-cross'", | ||
"marker symbol: 'square-x'", | ||
"marker symbol: 'asterisk'" | ||
], | ||
"marker": { | ||
"color": "blue", | ||
"size": 8, | ||
"symbol": [ | ||
"circle", | ||
"circle-open", | ||
"square", | ||
"square-open", | ||
"diamond", | ||
"diamond-open", | ||
"cross", | ||
"x", | ||
"triangle-up", | ||
"triangle-up-open", | ||
"triangle-down", | ||
"triangle-down-open", | ||
"triangle-left", | ||
"triangle-left-open", | ||
"triangle-right", | ||
"triangle-right-open", | ||
"triangle-ne", | ||
"triangle-ne-open", | ||
"triangle-nw", | ||
"triangle-nw-open", | ||
"triangle-se", | ||
"triangle-se-open", | ||
"triangle-sw", | ||
"triangle-sw-open", | ||
"pentagon", | ||
"pentagon-open", | ||
"hexagon", | ||
"hexagon-open", | ||
"hexagon2", | ||
"star", | ||
"star-open", | ||
"hexagram", | ||
"diamond-tall", | ||
"diamond-tall-open", | ||
"hourglass", | ||
"hourglass-open", | ||
"bowtie", | ||
"bowtie-open", | ||
"circle-cross", | ||
"circle-x", | ||
"square-cross", | ||
"square-x", | ||
"asterisk" | ||
], | ||
"line": { | ||
"color": "orange", | ||
"width": 1.5 | ||
} | ||
} | ||
} | ||
], | ||
"layout": { | ||
"width": 500, | ||
"height": 500, | ||
"scene": { | ||
"camera": { | ||
"eye": { | ||
"x": 0.1, | ||
"y": 0.1, | ||
"z": 2.1 | ||
} | ||
}, | ||
"xaxis": { | ||
"showgrid": false, | ||
"zeroline": false, | ||
"showline": false, | ||
"showticklabels": false, | ||
"title": "", | ||
"range": [0, 10] | ||
}, | ||
"yaxis": { | ||
"showgrid": false, | ||
"zeroline": false, | ||
"showline": false, | ||
"showticklabels": false, | ||
"title": "", | ||
"range": [0, 6] | ||
}, | ||
"zaxis": { | ||
"showgrid": false, | ||
"zeroline": false, | ||
"showline": false, | ||
"showticklabels": false, | ||
"title": "", | ||
"range": [0, 2] | ||
} | ||
}, | ||
"annotations": [ | ||
{ | ||
"x": 0.5, | ||
"y": 1, | ||
"xref": "paper", | ||
"yref": "paper", | ||
"text": "Add 100 (or '-open') to marker number (or string) to remove the fill color,<br>Add 200 (or '-dot') to marker number (or string) to add a dot in the middle,<br>Add 300 (or '-open-dot', 'dot-open') to marker number (or string) for both.", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I presume There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See b4db0ef |
||
"font": { | ||
"size": 10 | ||
}, | ||
"align": "left", | ||
"showarrow": false, | ||
"xanchor": "center", | ||
"yanchor": "bottom" | ||
} | ||
], | ||
"hovermode": "closest" | ||
} | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are two other tweaks this is going to need before it can really match how the svg symbols behave:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Basically this is going to require passing symbol-dependent offsets and scales to the relevant
gl-vis
modules. @destradafilm not sure if you want to take a crack at this, I'm afraid it'll be a little bit tedious and @etpinard and I may not be able to get to it for a while.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alexcjohnson I'd like to take a crack at it, but it will take a while for me since I've got a full plate at the moment, as well.