Menu

#402 Plots disappear from graph

next
closed
nobody
Plot bug (1)
4normal
2021-06-03
2020-08-09
No

Hi guys,
I'm working with Scidavis version 2.1.4 on linux (Ububtu 18.04) and i have the following problem: sometimes when i reopen a file i find the plot disappeared from a graph, while the axes etc are still present. Do you know how i can handle it? Beacause it is annoyng to recreate the graph every time i reopen the file
P.S. This is my first time here, i apologize in advance for any errors i'm commiting

Discussion

  • High Performance Coder

    I have just updated the Linux builds to 2.3.0, which is the latest. However, I'm not aware of any specific fixes in that area, so that may not help.

    Could you please attach the .sciprj file so we could investigate further?

     
  • Simone Sotgiu

    Simone Sotgiu - 2020-08-10

    Yes of course, thanks a lot

     
  • gbm

    gbm - 2020-08-11

    I cannot reproduce the bug in SciDAVis 2.3.0 (Fedora 30).
    When opened in SciDAVis the uploaded file shows two graph windows with missing curves, but they are already missing in the file.
    My guess is that Table(s) with the curve data were deleted before saving the file.
    If that is not the case, could you please describe an action sequence that starting from a new empty project produces a bad '.sciprj' file?

     
  • Simone Sotgiu

    Simone Sotgiu - 2020-08-22

    The problem i'm facing is the following: i create a table with a curve, i plot the curve and than i make the fit.I save the file, closeit and when i reopen it only the fit curve is present on the graph. If i import again the curve, save close and open again it is all right.

     
  • gbm

    gbm - 2020-08-24

    I can't reproduce the bug in Fedora30 with neither version 2.3.0 nor version 2.1.4 of SciDAVis.
    Could you please describe your steps with more detail?:

    1. Create a table with a curve [you probably mean two columns 1(X) and 2(Y), from "Import ASCII..."?]
    2. Plot the curve [which plot type? Line, Scatter, Bars ... ]
    3. Make the fit [which fit type? Linear, Polynomial, Fit Wizard (which expression?) ...]
    4. Save the file. [Save it as "bug402-step4.sciprj"]
    5. Close it
    6. Reopen it.
    7. Import again the curve.
    8. Save [Save it as "bug402-step8.sciprj"]
    9. Close

    Please attach the files "bug402-step4.sciprj" and "bug402-step8.sciprj" to your reply.

     
  • Simone Sotgiu

    Simone Sotgiu - 2020-08-30

    What i do is the following:
    1-Create a table
    2- Copy and past from excell two rows of number
    3- Plot the two columns (one X one Y) as line
    4- Fit that curve
    5-Rename the graph
    6-Rename the table
    7-Hide both graph and table
    8-Create a new table and a new graph in order to analyze another curve (in the same scidavis file)
    As you can see from the file attached only the fit curves are present in the graph, while before i closed it there were the table curves as well, as testified by the remaining legend

     
  • gbm

    gbm - 2020-08-31

    Attached patch fixes it.
    The bug only triggers when a graph plots data from a Table Column that has the underscore "_" character in its name.

    Until the patch makes it to a release you can get around it by avoiding underscores in Table Column names.

     
  • Simone Sotgiu

    Simone Sotgiu - 2020-09-06

    Thank you very much!

     
  • Suthiro

    Suthiro - 2021-06-03
    • status: open --> closed
     
  • Suthiro

    Suthiro - 2021-06-03

    Fixed here.

     

Log in to post a comment.

MongoDB Logo MongoDB