Questions tagged [mathgl]

MathGL is a library for making high-quality scientific graphics under Linux and Windows

MathGL is a a library for making high-quality scientific graphics under Linux and Windows, for the fast data plotting and data processing of large data arrays, for working in window and console modes and for embedding into other programs and a library with large and growing set of graphics. See http://mathgl.sourceforge.net/

40 questions
0
votes
1 answer

MathGL libmgl.so.7.2.0 not found

I have downloaded and compiled MathGL following the instructions on sourceforge without any errors occuring. When I ran my first test-program: (The <> brackets in line 1 seem so delete it but they are there in the code) #include mgl2/mgl.h …
0
votes
0 answers

semi-transparent background for MathGL plots

Is it possible to make MathGL produce an image where the background is semi-transparent (like 50%) and the foreground elements are opaque? How do I specify semi-transparent backgrounds in C++ for rendering-to-memory images?
cyrf
  • 5,127
  • 6
  • 25
  • 42
0
votes
0 answers

Installing MathGL on OSX mavericks is causing linking errors

Hi I've been having a lot of trouble trying to build and install MathGL after upgrading to OS X Mavericks. Downloading the source and afterrunning CMake followed by make I get the following linker error: [ 47%] Building CXX object…
emza0114
  • 59
  • 1
  • 6
0
votes
1 answer

mathgl and single letter variable names in C

I am trying to implement MATHGL graphs in QT windows. Compilation of the appropriate libraries went fine, and example provided compiles and runs without error. When trying to build sample code, something strange happens when I try to add a single…
Khine
  • 23
  • 3
0
votes
1 answer

Connecting signals and slots with QMathGL

I have a program that plots some simple data using MathGL, and displays it using a QMainWindow: main.cpp #include #include "mainwindow.h" int main(int argc, char *argv[]) { QApplication a(argc, argv); MainWindow w; …
user1981855
  • 75
  • 3
  • 9
0
votes
1 answer

Mathgl plot library installation for C++

I have installed the MathGL library in my win7 machine using the windows binary as found in sourceforge. I have followed the instruction and I have included the mathgl bin;include and lib files into the corresponded mingw folders. But when I try to…
antrofite_
  • 59
  • 3
  • 8
0
votes
1 answer

Data format for MathGL BoxPlot

I want to display a 10x48 dataset (10 sampling points with 48 or more samples each) in a box plot using MathGL. The result should be 10 box plots that summarize the data for each sampling point. The problem I'm having is, I can't figure out what…
Max Z.
  • 801
  • 1
  • 9
  • 25
0
votes
0 answers

Linker error with MathGL in XCode

Possible Duplicate: What is an undefined reference/unresolved external symbol error and how do I fix it? I'm trying to plot some matrices on 3D-graphs using MathGL with XCode. I managed (after a long day of frustration) to cmake, make and install…
Max Z.
  • 801
  • 1
  • 9
  • 25
-1
votes
1 answer

How to fix undefined reference to ... in c++

I am trying to compile mathgl with fltk on a linux debian. In the mathgl directory, I do the followin cmd to configure the compilation : cmake -Wno-dev -D enable-hdf5=on -D enable-jpeg=on -D enable-png=on -D enable-fltk=on -D enable-qt4=on and the…
-1
votes
1 answer

Using mglData in MathGL cause segmentation fault

I try to use mglData just as the simplest way: #include int main() { mglData y; return 0; } and compile it with: g++ *.cpp -lmgl-qt -lmgl Then I get a executable file a.out. But when I try to execute by ./a.out Error…
TimeCoder
  • 15
  • 2
1 2
3