-
Notifications
You must be signed in to change notification settings - Fork 4
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
Comments
@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. |
I would like the raw data but either would fine. In your example, it would be fine to allow saving of the raw or the 10log10 result. It can always be converted the desired format in excel.
I’ve never done a plug in, so I will probably ask for guidance on that one…If you have an example that deals with data storage of some kind, that would be great.
Thanks,
Kam
From: maihde ***@***.***>
Sent: Saturday, November 18, 2023 2:46 PM
To: spectriclabs/sigplot ***@***.***>
Cc: Mun, Kam U (US) ***@***.***>; Mention ***@***.***>
Subject: Re: [spectriclabs/sigplot] Request to add save as of csv file to menu (Issue #16)
External Email Alert
This email has been sent from an account outside of the BAE Systems network.
Please treat the email with caution, especially if you are requested to click on a link, decrypt/open an attachment, or enable macros. For further information on how to spot phishing, access “Cybersecurity OneSpace Page” and report phishing by clicking the button “Report Phishing” on the Outlook toolbar.
@kmun<https://github.com/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.
—
Reply to this email directly, view it on GitHub<#16 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AK4LRSUG435RGIOG72LD4HLYFEF7NAVCNFSM6AAAAAA6XTQUR6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJXGYYDQMJXGM>.
You are receiving this because you were mentioned.Message ID: ***@***.******@***.***>>
|
@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. |
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.
The text was updated successfully, but these errors were encountered: