Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » Interfacing with Matplot++ and SVG display (General questions about displaying graphs)
Re: Interfacing with Matplot++ and SVG display [message #60365 is a reply to message #60362] Sun, 24 December 2023 16:08 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3437
Registered: August 2008
Senior Veteran
Hi upbolo

I will try to answer some of your questions.

Quote:
where the executable is saved when compiling the examples
You can go to menu \Build\Open output directory. Apart from that, you can co to \Build\Output mode, and you can set the full path and name of your exe in DEBUG (left) and RELEASE (right) modes.

Copying data between vectors may be done like this:
// Vectors declaration
std::vector<double> st;
std::Vector<double> up;

// Copying from std to U++
up.SetCount(st.size());
std::copy(Begin(st), End(st), Begin(up));

// Copying from U++ to std
st.resize(up.size());
std::copy(Begin(up), End(up), Begin(st));

Apart from that, for scientific plotting you may use UppHub\Scatter\ScatterDraw. It allows to save as pdf, that has quality valid for scientific journals.


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: plugin/tga
Next Topic: Compiling problem in the Draw package
Goto Forum:
  


Current Time: Sat Jun 07 01:27:28 CEST 2025

Total time taken to generate the page: 0.03536 seconds