Attach the 'use it?' field to Text output#1203
Conversation
oerc0122
left a comment
There was a problem hiding this comment.
Looks good if it works. Do we have any tests for the text dumpers?
What would be a good placeholder to put there instead of a zero? The main reason for it being there is not to end up with the top axis misaligned with the array elements below. This only happens when you import the data into some other software like Origin. |
can it be some non-numeric character like '_'? |
Co-authored-by: Jacob Wilkins <46597752+oerc0122@users.noreply.github.com> Signed-off-by: Maciej Bartkowiak <108934199+MBartkowiakSTFC@users.noreply.github.com>
I think this is done now. |
ChiCheng45
left a comment
There was a problem hiding this comment.
Thanks for that. Looks good.
Description of work
In the MDANSE plotter, we are able to select specific rows or columns in a 2D array. However, the same input field is ignored in the
Text"plotter". This PR makes it possible to pick a subset of data in theTextviewer and save it to a CSV file instead of saving all the rows and columns.Fixes
Textplotter to use thecurves_vs_axismethod.To test
Load a 2D dataset and plot it. Select two specific rows or columns using the
Use it?field.Send the same dataset to the
Textplotter. Try to show the same rows/columns in the text. (Disable/enable preview to check if that still works correctly.)