Replies: 1 comment 2 replies
-
|
Hi thanks for posting!
In this case I'm assuming you your
Examples: 10 lines, 200 y-values (n_datapoints), x values set using np.arange(n_datapoints):
10 lines, 200 datapoints, specify x and y:
10 lines, 200 datapoints, specify, x, y, z (gallery example):
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm trying out fastplotlib, and I have a
n x k2D array, wherenis the number of lines andkis the number of data points. I also have a 1D array of sizekwhich contains the x positions of the data. It was very difficult to figure out how to plot this data simultaneously usingadd_line_collection.Here's a minimal example:
The documentation says:
I don't understand what the
y | xy | xyznotation means.After a lot of trial and error, I found out that I can make it work in either of the two following ways:
This took a very long time to figure out. It's also quite a lot of typing, is there a more concise way to do this? It would help a lot if there was an example in the documentation demonstrating how to do a plot like this.
The error messages are also pretty confusing, for example if I don't have the
Tin the first option, the error message is justWhich is not very helpful, my data is in fact 2D (or 3D really as it's a list of 2D arrays). I think the error message should explain what the expected and actual shapes are (
(k x 2)and(2 x k)in this case).Beta Was this translation helpful? Give feedback.
All reactions