-
Notifications
You must be signed in to change notification settings - Fork 105
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
Added the Side Plot option for the graph option in the insert dialog #9441
base: master
Are you sure you want to change the base?
Added the Side Plot option for the graph option in the insert dialog #9441
Conversation
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.
@derekagorhom I've reviewed your progress, and it aligns with our discussion. However, is there a way to ensure that the insert is placed directly where expected within the script? @rdstern, could you also check this?
Currently, the user must determine the exact location in the code to insert the side plots' code; otherwise, it defaults to the end of the R-Instat graph code, causing it to malfunction.
@rdstern, is this acceptable, considering that users utilizing this feature are expected to have some coding knowledge? If they can read the code to that level, they might not need an automated insert function for side plots—they could simply write the code themselves. Thoughts?
@fran2or I am about to check the dialog. But in answer to your query I was assuming that the user has to understand the script sufficiently to put the cursor manually in the right place. Let's ponder later if we can do anything better. |
@derekagorhom and @fran2or this is already working. Great: |
@derekagorhom that's fine. Is there a problem adding the other part? |
@rdstern I am still working on them, I will let you know when they have been added |
@derekagorhom this is a start. However there remains a lot to correct here in the code, and possibly in the controls. I suggest: |
@rdstern I have disabled the Textpath option |
@derekagorhom sorry, I keep messing you up on this. That's where I wish you were doing this with @fran2or as well as with me. But that's not quite right, because the side plots are then just for scatterplots. They can be added to any plot. So maybe there is a Sideplot tab in the sub-dialog. And maybe both, so the feature is on the main dialog for scatterplots, and in the sub-dialog for everything else. There are many other features I would like to add quickly into the forthcoming version. Given the time on this one feature they have higher priority than this one. |
That's an interesting suggestion! Modifying the main plot code to automatically add This could be a limitation in cases where overlapping density plots need to be interpreted, as unfilled plots often provide a clearer visual comparison. Perhaps a more flexible approach could be to give users the option in the dialog—either allowing What do you think? Would this balance usability and interpretability? |
@rdstern Is there a specific reason why we need the Side Plot controls on the scatterplot main dialog? If not, I think having it present in the sub-dialog would be the best placement. This way, the Side Plot feature will be available not just for scatterplots but for other plots as well, ensuring broader functionality and then avoids duplication. |
Thanks @fran2or for the quick reply. I went through the same steps as you have done. |
Fixes partly #8800
I have added the side plot option for the graph option of the Insert dialog.
Currently still working on the Text path option.
@fran2or can you review this
Thanks
This is still not ready for review