Search found 14 matches

by Agucho
Tue Feb 07, 2012 10:05 pm
Forum: wxCode
Topic: two colours in a curve - wxPlotCtrl
Replies: 1
Views: 2523

two colours in a curve - wxPlotCtrl

Hello! Does anyone know if I can draw a curve in a wxPlotCtrol with some points in Red and others in Blue?
I want to distinguish between parts of the curve.
Thanks!
by Agucho
Mon Dec 12, 2011 1:46 pm
Forum: C++ Development
Topic: Binding to a timer event.
Replies: 5
Views: 3054

Re: Binding to a timer event.

John, could you post the working code?, im trying to learn how to use the wxTimer events. Thanks!
by Agucho
Thu Nov 24, 2011 5:23 pm
Forum: wxCode
Topic: How to set the colour of a curve (wxPlotCtrl)?
Replies: 4
Views: 3383

Re: How to set the colour of a curve (wxPlotCtrl)?

Hello! When you add the curve you can deselect it. Yo should write:

Code: Select all

m_plotctrl1->AddCurve(pdata,false,false);
and the curve will be RED.
by Agucho
Tue Nov 15, 2011 3:11 pm
Forum: C++ Development
Topic: Send info from wxDialog to wxFrame
Replies: 2
Views: 816

Re: Send info from wxDialog to wxFrame

I think it will help me, because i am actually in the point that i cant comunicate the two classes (wxDialog and wxFrame). When i select a row from the grid in wxDialog i pick up a wxString and I want to use it in the wxFrame.
by Agucho
Tue Nov 15, 2011 1:42 pm
Forum: C++ Development
Topic: Send info from wxDialog to wxFrame
Replies: 2
Views: 816

Send info from wxDialog to wxFrame

I want to send some information from a wxDialog that i create in a function of my principal wxFrame. Inside the wxDialog i have a grid and when i select one of the elements of the grid i want to save a string (a name) because i need it to continue with the program whe it is back in the principal wxF...
by Agucho
Fri Aug 05, 2011 5:05 pm
Forum: C++ Development
Topic: How to draw different symbols with wxPlotCtrl
Replies: 5
Views: 2409

Re: How to draw different symbols with wxPlotCtrl

Hey! and if I want to draw characters or numbers??
by Agucho
Fri Jul 29, 2011 4:45 pm
Forum: wxCode
Topic: Do not display point for curve in wxPlotCtrl
Replies: 1
Views: 1754

Re: Do not display point for curve in wxPlotCtrl

which point do you want to hide? Explain a bit more..
by Agucho
Thu Jul 28, 2011 12:39 am
Forum: wxCode
Topic: How to plot/show a characters or letters with wxplotctrl
Replies: 0
Views: 2010

How to plot/show a characters or letters with wxplotctrl

Hi! I want to show in a wxplotctrl some labels with letters associated with specific points of my graphics. I intend to clasify that points. I know that i can plot marks like dots and bit-maps but i want to plot letters or characters inside de chart near some points. I hope someone can help me. Than...
by Agucho
Sun Jul 17, 2011 10:12 pm
Forum: wxCode
Topic: Plot raw data Points with wxPlotCtrl
Replies: 5
Views: 4647

Re: Plot raw data Points with wxPlotCtrl

I cant draw raw points! the code im trying is: Grafica1->DeleteCurve(-1,false); Grafica1->SetDrawLines(false); Grafica1->SetDrawSymbols(true); Grafica1->SetZoom(0,0,1,1,false); int x1=5,x2=7; int y1=6,y2=4; int range=2; wxPlotData *data_dir=new wxPlotData(range,false); data_dir->SetValue(0,x1,y1); d...
by Agucho
Wed Jul 13, 2011 4:23 pm
Forum: Compiler / Linking / IDE Related
Topic: dind´t find wxmsw28d_plotctrl_gcc.dll.
Replies: 5
Views: 2289

Re: dind´t find wxmsw28d_plotctrl_gcc.dll.

I have moved this topic to: http://forums.wxwidgets.org/viewtopic.php?f=19&t=30631 . I think its better
thank you!!
by Agucho
Wed Jul 13, 2011 4:22 pm
Forum: Compiler / Linking / IDE Related
Topic: How to compile wxAdditions (wxPlotCtrl, wxThings, etc)
Replies: 0
Views: 2257

How to compile wxAdditions (wxPlotCtrl, wxThings, etc)

Im using: Code:Blocks 10.05 rev 6283 gcc version 4.41 (TDM-2 mingw32) wxPack_v2.8.11.03.exe Window XP SP3 But i cant work with wxPlotCtrl,C::B gives me a lot of error, and i have read that wxAdditions have been compiled in another version of mingw, so i want to recompile it with my installed version...
by Agucho
Tue Jul 12, 2011 12:21 am
Forum: Compiler / Linking / IDE Related
Topic: dind´t find wxmsw28d_plotctrl_gcc.dll.
Replies: 5
Views: 2289

Re: dind´t find wxmsw28d_plotctrl_gcc.dll.

The problem appears when i eant to use a component from the additions of wxFormBuilder, because if i use only the common ones, it compiles..
by Agucho
Mon Jul 11, 2011 11:18 pm
Forum: Compiler / Linking / IDE Related
Topic: dind´t find wxmsw28d_plotctrl_gcc.dll.
Replies: 5
Views: 2289

Re: dind´t find wxmsw28d_plotctrl_gcc.dll.

Hey my problem has changed now. I cant even compile now. I tried to recompile my wxWidgets using the instruccions in youtube video , and Code::Blocks give me this: ||=== prueba3, Release ===| C:\SourceCode\Libraries\wxWidgets2.8\additions\lib\gcc_lib\libwxmsw28u_plotctrl.a(plotctrllib_plotctrl.o):pl...
by Agucho
Sat Jul 09, 2011 8:24 pm
Forum: Compiler / Linking / IDE Related
Topic: dind´t find wxmsw28d_plotctrl_gcc.dll.
Replies: 5
Views: 2289

dind´t find wxmsw28d_plotctrl_gcc.dll.

I have a problem when i want to work with Code::Blocks, wxWidgets and wxFormBuilder. I want to use wxPlotCtrl but it gives me plenty of errors. I downloaded and installed the wxPack but i couldn´t compile my app with a wxPlotCtrl (wxFormBuilder), but then reading in a lot of forums i could solve som...