Thanks Patrick for your example !! That's quite similar to what I need.

I am talking about:

   - Samples: over 1 million samples in every plot , where a scatter and a 
   multiline graph could be shown at the same time. The matrix may have 50-100 
   columns. If the multiline graph does not need a different matrix structure, 
   I would need just one big matrix for all the plots.
   - Plots: 100 for each file as maximum. I would need to open more than 
   one file at the same time to make comparisons (they could be in the 
   background temporarily if it's too much)

I know this can work fluent in Matlab, but I don't know if that's currently 
possible in Python
On Friday, 7 May 2021 at 06:21:27 UTC+2 Patrick wrote:

> Here's a screenshot from a project I'm currently working on. I've been 
> working on the hardware and back end stuff recently, so the front end GUI 
> hasn't been touched for a while. This is showing 10x 1.4 MB .csv data 
> matrices loaded up. The three data panels are different views of the data 
> and are all linked and updated in sync. The checkboxes toggle visibility of 
> each data set, and mouse interaction works to select traces by clicking on 
> the plot (highlighted in white). I have tried loading 100 or so matrices in 
> and it still works fine, though the slowdown is noticeable.
> [image: Screenshot from 2021-05-07 13-33-32.png]
> Source code is public, specifically you'll want to look at this file for 
> mouse interaction etc: datapanel.py 
> <https://gitlab.com/ptapping/trspectrometer/-/blob/main/trspectrometer/datapanel.py>
>
> On Thursday, 6 May 2021 at 10:11:43 pm UTC+9:30 [email protected] wrote:
>
>> Thanks Patrick for the answer, a link to an example would be helpful.
>>
>> All the plots that I have in the form of the application use the same 
>> data (similar to a matrix in pandas library). If one some sample is 
>> selected or some action or update is done, all the plots are updated. 
>> Besides, I can use different colors to different groups of samples. Can 
>> this be easily done as well?
>>
>> I had several problems to do the app in Bokeh, and I don't know if I 
>> would have even more troubles in PyQtGraph with OpenGL. Does anyone know 
>> both libraries in order to compare functionalities?
>>
>> Bokeh has a toolbar next to each plot that is quite useful, but if I 
>> use PyQtGraph I would have to create all those tools manually right?
>>
>> On Thursday, 6 May 2021 at 05:19:59 UTC+2 Patrick wrote:
>>
>>> Hi,
>>>
>>> What you describe is absolutely possible, but the "lasso" functionality 
>>> shown in the gif would need to be custom written if you really wanted it. 
>>> Selecting scatter points can be done (see the Graphics Items -> Scatter 
>>> Plot example). I have done interacting with line plots and the show/hide 
>>> checkbox thing for multiline plots before and it was reasonably 
>>> straightforward. I can point you towards a code example of that if you need.
>>>
>>> Patrick
>>>
>>> On Thursday, 6 May 2021 at 7:25:01 am UTC+9:30 [email protected] wrote:
>>>
>>>> Hello everybody,
>>>>
>>>> I am considering migrating an app similar to the one in the link to 
>>>> PyQtGraph or Vispy. The App is built with the Bokeh library
>>>>
>>>> https://github.com/ocean-data-qc/ocean-data-qc
>>>>
>>>> Do you think that is possible? If you take a look at the gif in the 
>>>> main page of the project. I need to be able to interact with the samples 
>>>> in 
>>>> the graph by clicking on them. I also need to draw multiline plots on the 
>>>> samples graph, change some visibility of a group of samples, etc. I think 
>>>> you can get the whole idea just checking the gif.
>>>>
>>>> Thanks in advance !!
>>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyqtgraph/67f5fe45-6d10-4d47-895f-71a922a248a7n%40googlegroups.com.

Reply via email to