Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Request to add save as of csv file to menu #16

Open
kmun opened this issue Oct 31, 2023 · 3 comments
Open

Request to add save as of csv file to menu #16

kmun opened this issue Oct 31, 2023 · 3 comments
Labels
wontfix This will not be worked on

Comments

@kmun
Copy link

kmun commented Oct 31, 2023

We have had several of our users request for an enhancement which would allow them to save a Type 2000 or Type 1000 plot as CSV so they can import it into a spreadsheet.

I would suggest it be added to the 'save as' menu item currently in sigplot.

@maihde
Copy link

maihde commented Nov 18, 2023

@kmun upon further investigation, this isn't a simple request if it has to handle exporting generically in all cases. Further, can you clarify if the export requirement needs to export the raw data or the rendered data. For example, if the plot is in 10log10 mode and the CSV is saved...should the values be the raw values or the values after 10log10 is applied?

Instead of building this directly into SigPlot, my recommendation is that you build a SigPlot plugin that is tailored to your specific requirements. SigPlot plugins can contribute to the menu and have access to all the internals of the plot and layers. If you would like some guidance on building your own plugins let me know.

@maihde maihde added the wontfix This will not be worked on label Nov 18, 2023
@kmun
Copy link
Author

kmun commented Nov 20, 2023 via email

@maihde
Copy link

maihde commented Nov 22, 2023

@kmun here is an example plugin for performing CSV export. The menu will be Plugins... > Export ... > Raw CSV

https://github.com/spectriclabs/sigplot/tree/main/examples/export

If you are making your own new plugin based on this, you will need to make a small update to SigPlot or upgrade to the latest code.

a149b50

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants