I think that my previous thread was wrong.

Finally I'm not sure that my code uses in a rigth way plplot( sorry for 
my bad english)
In my program I open many windows with images. If I open 10 windows 
there is no problem but with 11 windows my program crash
For each image I open a panel which include 6 windows like :"class 
FenetreCourbe : public wxPLplotwindow"
I think first PL_NSTREAMS limits was a problem but now I think it is 
PL_MAX_OPT_TABLES. My program crash :
      plplotd.dll!ParseOpt(int * p_myargc, const char * * * p_argv, int 
* p_argc, const char * * * p_argsave, PLOptionTable * option_table) 
Ligne 1017    C
     plplotd.dll!c_plparseopts(int * p_argc, const char * * argv, int 
mode) Ligne 908    C
      plplotd.dll!c_plsetopt(const char * opt, const char * opt_arg) 
Ligne 758    C
      plplotcxxd.dll!plstream::setopt(const char * opt, const char * 
optarg) Ligne 2593    C++
      plplotwxwidgetsd.dll!wxPLplotstream::Create(wxDC * dc, int width, 
int height, int style) Ligne 85    C++
      plplotwxwidgetsd.dll!wxPLplotstream::wxPLplotstream(wxDC * dc, int 
width, int height, int style) Ligne 37    C++
      plplotwxwidgetsd.dll!wxPLplotwindow::wxPLplotwindow(wxWindow * 
parent, int id, const wxPoint & pos, const wxSize & size, long style, 
int pl_style) Ligne 62    C++
      wxOpenCVMain.exe!FenetreCourbe::FenetreCourbe(wxFrame * frame, 
wxWindow * parent, int id, const wxPoint & pos, const wxSize & size, 
long style, int pl_style) Ligne 25    C++

In plplparseopts(int * p_argc, const char * * argv, int mode) Ligne 908 
variables tables is equal to 11 . i think that is a problem because 
PL_MAX_OPT_TABLES is limited to 10.
My questions is how can I open eleven windows?

thanks for yours answers.

PS
ploptions_info is
-        ploption_info    0x000007fee792c750 
{{options=0x000007fee792cf00 {plplotd.dll!PLOptionTable 
ploption_table[47]} {opt=...} ...}, ...}    PLOptionInfo[10]
-        [0]    {options=0x000007fee792cf00 {plplotd.dll!PLOptionTable 
ploption_table[47]} {opt=0x000007fee792cef8 "showall" ...} ...}    
PLOptionInfo
+        options    0x000007fee792cf00 {plplotd.dll!PLOptionTable 
ploption_table[47]} {opt=0x000007fee792cef8 "showall" ...} PLOptionTable *
+        name    0x000007fee792c840 "PLplot options"    const char *
+        notes    0x000007fee792c658 {plplotd.dll!const char 
*plplot_notes[3]} {0x000007fee792c670 "All parameters must be 
white-space delimited.  Some options are driver"}    const char * *
-        [1]    {options=0x000000013f768700 
{wxOpenCVMain.exe!PLOptionTable options[5]} {opt=0x000000013f6c1224 
"locate" ...} ...}    PLOptionInfo
+        options    0x000000013f768700 {wxOpenCVMain.exe!PLOptionTable 
options[5]} {opt=0x000000013f6c1224 "locate" handler=...}    PLOptionTable *
+        name    0x000000013f6c1370 "x01c options"    const char *
+        notes    0x000000013f7686e8 {wxOpenCVMain.exe!const char 
*notes[2]} {0x000000013f6c1230 "Make sure you get it right!"} const char * *
-        [2]    {options=0x000000013f768700 
{wxOpenCVMain.exe!PLOptionTable options[5]} {opt=0x000000013f6c1224 
"locate" ...} ...}    PLOptionInfo
+        options    0x000000013f768700 {wxOpenCVMain.exe!PLOptionTable 
options[5]} {opt=0x000000013f6c1224 "locate" handler=...}    PLOptionTable *
+        name    0x000000013f6c1370 "x01c options"    const char *
+        notes    0x000000013f7686e8 {wxOpenCVMain.exe!const char 
*notes[2]} {0x000000013f6c1230 "Make sure you get it right!"} const char * *
-        [3]    {options=0x000000013f768700 
{wxOpenCVMain.exe!PLOptionTable options[5]} {opt=0x000000013f6c1224 
"locate" ...} ...}    PLOptionInfo
+        options    0x000000013f768700 {wxOpenCVMain.exe!PLOptionTable 
options[5]} {opt=0x000000013f6c1224 "locate" handler=...}    PLOptionTable *
+        name    0x000000013f6c1370 "x01c options"    const char *
+        notes    0x000000013f7686e8 {wxOpenCVMain.exe!const char 
*notes[2]} {0x000000013f6c1230 "Make sure you get it right!"} const char * *
-        [4]    {options=0x000000013f768700 
{wxOpenCVMain.exe!PLOptionTable options[5]} {opt=0x000000013f6c1224 
"locate" ...} ...}    PLOptionInfo
+        options    0x000000013f768700 {wxOpenCVMain.exe!PLOptionTable 
options[5]} {opt=0x000000013f6c1224 "locate" handler=...}    PLOptionTable *
+        name    0x000000013f6c1370 "x01c options"    const char *
+        notes    0x000000013f7686e8 {wxOpenCVMain.exe!const char 
*notes[2]} {0x000000013f6c1230 "Make sure you get it right!"} const char * *
-        [5]    {options=0x000000013f768700 
{wxOpenCVMain.exe!PLOptionTable options[5]} {opt=0x000000013f6c1224 
"locate" ...} ...}    PLOptionInfo
+        options    0x000000013f768700 {wxOpenCVMain.exe!PLOptionTable 
options[5]} {opt=0x000000013f6c1224 "locate" handler=...}    PLOptionTable *
+        name    0x000000013f6c1370 "x01c options"    const char *
+        notes    0x000000013f7686e8 {wxOpenCVMain.exe!const char 
*notes[2]} {0x000000013f6c1230 "Make sure you get it right!"} const char * *
-        [6]    {options=0x000000013f768700 
{wxOpenCVMain.exe!PLOptionTable options[5]} {opt=0x000000013f6c1224 
"locate" ...} ...}    PLOptionInfo
+        options    0x000000013f768700 {wxOpenCVMain.exe!PLOptionTable 
options[5]} {opt=0x000000013f6c1224 "locate" handler=...}    PLOptionTable *
+        name    0x000000013f6c1370 "x01c options"    const char *
+        notes    0x000000013f7686e8 {wxOpenCVMain.exe!const char 
*notes[2]} {0x000000013f6c1230 "Make sure you get it right!"} const char * *
-        [7]    {options=0x000000013f768700 
{wxOpenCVMain.exe!PLOptionTable options[5]} {opt=0x000000013f6c1224 
"locate" ...} ...}    PLOptionInfo
+        options    0x000000013f768700 {wxOpenCVMain.exe!PLOptionTable 
options[5]} {opt=0x000000013f6c1224 "locate" handler=...}    PLOptionTable *
+        name    0x000000013f6c1370 "x01c options"    const char *
+        notes    0x000000013f7686e8 {wxOpenCVMain.exe!const char 
*notes[2]} {0x000000013f6c1230 "Make sure you get it right!"} const char * *
-        [8]    {options=0x000000013f768700 
{wxOpenCVMain.exe!PLOptionTable options[5]} {opt=0x000000013f6c1224 
"locate" ...} ...}    PLOptionInfo
+        options    0x000000013f768700 {wxOpenCVMain.exe!PLOptionTable 
options[5]} {opt=0x000000013f6c1224 "locate" handler=...}    PLOptionTable *
+        name    0x000000013f6c1370 "x01c options"    const char *
+        notes    0x000000013f7686e8 {wxOpenCVMain.exe!const char 
*notes[2]} {0x000000013f6c1230 "Make sure you get it right!"} const char * *
-        [9]    {options=0x000000013f768700 
{wxOpenCVMain.exe!PLOptionTable options[5]} {opt=0x000000013f6c1224 
"locate" ...} ...}    PLOptionInfo
+        options    0x000000013f768700 {wxOpenCVMain.exe!PLOptionTable 
options[5]} {opt=0x000000013f6c1224 "locate" handler=...}    PLOptionTable *
+        name    0x000000013f6c1370 "x01c options"    const char *
+        notes    0x000000013f7686e8 {wxOpenCVMain.exe!const char 
*notes[2]} {0x000000013f6c1230 "Make sure you get it right!"} const char * *


Le 13/02/2015 23:58, Jim Dishaw a écrit :
> There should be no problem if you increased that number. I have to ask if you 
> need more than 100 simultaneous plots. You can use pladv() or the 
> plbop()/pleop() functions to advance to a new page. If you really want a 
> fresh state you can do a plend1() call and then start over.
>
> A better solution would be to make the number of plot streams dynamic, which 
> is a pretty easy fix. That way a library user doesn't have to worry about a 
> fixed limit.
>
>
>
>> On Feb 13, 2015, at 4:00 PM, laurent Berger <laurent.ber...@univ-lemans.fr> 
>> wrote:
>>
>> Hi,
>>
>> I am using plplot for image processing with many plplot windows more
>> than 100. In source plplot streams seems limited to 100 (#define
>> PL_NSTREAMS 100 // Max number of concurrent streams. plplotP.h line 289).
>> Is it possible to increase this values?
>> Thanks for yours answers
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Dive into the World of Parallel Programming. The Go Parallel Website,
>> sponsored by Intel and developed in partnership with Slashdot Media, is your
>> hub for all things parallel software development, from weekly thought
>> leadership blogs to news, videos, case studies, tutorials and more. Take a
>> look and join the conversation now. http://goparallel.sourceforge.net/
>> _______________________________________________
>> Plplot-devel mailing list
>> Plplot-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/plplot-devel
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Plplot-devel mailing list
> Plplot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/plplot-devel


------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to