Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 2k
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
fb092cfffad7fa4c2929a2bee6b2c0eb06588974c3f68104b0c8c613File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| 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" | ||
| } | ||
| } |
| 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.", | ||
Collaborator 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 ContributorAuthor 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" | ||
| } | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.
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-vismodules. @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.