You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
(14) |
Jun
(1) |
Jul
(3) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(16) |
Dec
(1) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(13) |
Feb
(22) |
Mar
(7) |
Apr
(8) |
May
(8) |
Jun
(11) |
Jul
(2) |
Aug
|
Sep
(5) |
Oct
(31) |
Nov
(23) |
Dec
(3) |
2002 |
Jan
(1) |
Feb
(17) |
Mar
(10) |
Apr
(3) |
May
(1) |
Jun
(2) |
Jul
|
Aug
|
Sep
(11) |
Oct
(5) |
Nov
(21) |
Dec
(20) |
2003 |
Jan
(27) |
Feb
(13) |
Mar
(20) |
Apr
(11) |
May
(12) |
Jun
(7) |
Jul
(16) |
Aug
(21) |
Sep
(9) |
Oct
(28) |
Nov
(24) |
Dec
(30) |
2004 |
Jan
(31) |
Feb
(5) |
Mar
|
Apr
(8) |
May
(12) |
Jun
(7) |
Jul
(13) |
Aug
(12) |
Sep
(2) |
Oct
(14) |
Nov
(42) |
Dec
(14) |
2005 |
Jan
|
Feb
|
Mar
(20) |
Apr
(17) |
May
(9) |
Jun
|
Jul
(7) |
Aug
(3) |
Sep
(17) |
Oct
(14) |
Nov
(9) |
Dec
|
2006 |
Jan
|
Feb
|
Mar
(13) |
Apr
(2) |
May
(46) |
Jun
(2) |
Jul
(20) |
Aug
(26) |
Sep
(31) |
Oct
(5) |
Nov
(9) |
Dec
(13) |
2007 |
Jan
(24) |
Feb
(22) |
Mar
(13) |
Apr
(25) |
May
(25) |
Jun
(9) |
Jul
(20) |
Aug
(9) |
Sep
(26) |
Oct
(3) |
Nov
(4) |
Dec
(3) |
2008 |
Jan
(92) |
Feb
(35) |
Mar
(39) |
Apr
(15) |
May
|
Jun
|
Jul
(18) |
Aug
(5) |
Sep
(5) |
Oct
(7) |
Nov
(10) |
Dec
(27) |
2009 |
Jan
(35) |
Feb
(34) |
Mar
(13) |
Apr
(9) |
May
(18) |
Jun
(9) |
Jul
(15) |
Aug
(13) |
Sep
(64) |
Oct
(7) |
Nov
(43) |
Dec
|
2010 |
Jan
(75) |
Feb
(22) |
Mar
(44) |
Apr
(34) |
May
(47) |
Jun
(77) |
Jul
(28) |
Aug
(7) |
Sep
(45) |
Oct
(1) |
Nov
(19) |
Dec
(7) |
2011 |
Jan
(14) |
Feb
|
Mar
(6) |
Apr
(12) |
May
(19) |
Jun
(3) |
Jul
(8) |
Aug
(4) |
Sep
(3) |
Oct
(21) |
Nov
(11) |
Dec
(4) |
2012 |
Jan
(2) |
Feb
(9) |
Mar
|
Apr
(1) |
May
(2) |
Jun
|
Jul
(1) |
Aug
(5) |
Sep
(5) |
Oct
(1) |
Nov
(18) |
Dec
(2) |
2013 |
Jan
(15) |
Feb
(16) |
Mar
(8) |
Apr
(5) |
May
|
Jun
(1) |
Jul
(17) |
Aug
(3) |
Sep
(17) |
Oct
(43) |
Nov
(25) |
Dec
(9) |
2014 |
Jan
(4) |
Feb
(8) |
Mar
(20) |
Apr
(14) |
May
(49) |
Jun
(1) |
Jul
|
Aug
(18) |
Sep
(2) |
Oct
(1) |
Nov
(22) |
Dec
(3) |
2015 |
Jan
(41) |
Feb
(2) |
Mar
(34) |
Apr
(30) |
May
(14) |
Jun
(17) |
Jul
(29) |
Aug
(3) |
Sep
(3) |
Oct
(1) |
Nov
(7) |
Dec
(4) |
2016 |
Jan
|
Feb
|
Mar
(1) |
Apr
(4) |
May
(1) |
Jun
|
Jul
(1) |
Aug
|
Sep
(25) |
Oct
(9) |
Nov
(14) |
Dec
(13) |
2017 |
Jan
(11) |
Feb
(8) |
Mar
(12) |
Apr
(4) |
May
(25) |
Jun
(2) |
Jul
|
Aug
(5) |
Sep
(10) |
Oct
(25) |
Nov
|
Dec
(6) |
2018 |
Jan
(18) |
Feb
(6) |
Mar
(6) |
Apr
(1) |
May
(7) |
Jun
(13) |
Jul
(8) |
Aug
|
Sep
(5) |
Oct
(2) |
Nov
(17) |
Dec
(3) |
2019 |
Jan
(11) |
Feb
(4) |
Mar
(13) |
Apr
(19) |
May
(1) |
Jun
(2) |
Jul
(8) |
Aug
(4) |
Sep
(32) |
Oct
(51) |
Nov
(1) |
Dec
(9) |
2020 |
Jan
(9) |
Feb
(6) |
Mar
|
Apr
|
May
(3) |
Jun
(2) |
Jul
(5) |
Aug
(4) |
Sep
|
Oct
|
Nov
|
Dec
|
2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(7) |
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
(2) |
Nov
(3) |
Dec
|
2022 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2024 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Owens, T. <Tho...@gt...> - 2012-08-13 16:54:57
|
I have written a plplot application that reads in streamed data and continuously updates 9 plots within a single window. However, after about 30 minutes or so, the plot buffer grows so large that the application closes/crashes with PLPLOT ERROR, IMMEDIATE EXIT plbuf wr_data: Plot buffer grow failed. If I run plplot with debug enabled, I get the console messages: Growing buffer to 1408 KB Growing buffer to 40704 KB Growing buffer to 41216 KB etc... Valgrind shows the memory issue occurs with the calls to plenv. Besides closing and reopening the entire window, is it possible to use plplot without allowing the buffer to continuously grow? The same issue is described 3 years ago at http://www.mail-archive.com/plp...@li.../msg00659.html without an end solution. Thank you for any assistance. |
From: Andreas K. <and...@ac...> - 2012-08-07 18:26:30
|
[[ Get your papers, WIPs and posters in. (We have an exhibition hall with 25 gesture-controlled screens to show the latter two on). The deadline for abstracts and proposals is three weeks away. ]] [[ Notes: Colin Walker of F5 is confirmed as our Keynote speaker. http://www.f5.com ]] 19th Annual Tcl/Tk Conference (Tcl'2012) http://www.tcl.tk/community/tcl2012/ November 12 - 16, 2012 Sessions: National Museum of Health and Medicine Chicago 175 W. Washington Chicago, IL 60602 Rooms: Holiday Inn Chicago Mart Plaza 350 West Mart Center Drive Chicago, Illinois, USA Map: https://maps.google.com/maps/ms?msid=204739899073144451536.0004c144222a9036c99f6&msa=0&ll=41.885266,-87.633734&spn=0.008443,0.018818 Important Dates: Abstracts and proposals due August 27, 2012 Notification to authors September 10, 2012 WIP and BOF reservations open August 6, 2012 Author materials due October 29, 2012 Tutorials Start November 12, 2012 Conference starts November 14, 2012 Email Contact: tcl...@go... Submission of Summaries Tcl/Tk 2012 will be held in Chicago, Illinois, USA from November 12 - 16, 2012. The program committee is asking for papers and presentation proposals from anyone using or developing with Tcl/Tk (and extensions). Past conferences have seen submissions covering a wide variety of topics including: * Scientific and engineering applications * Industrial controls * Distributed applications and Network Managment * Object oriented extensions to Tcl/Tk * New widgets for Tk * Simulation and application steering with Tcl/Tk * Tcl/Tk-centric operating environments * Tcl/Tk on small and embedded devices * Medical applications and visualization * Use of different programming paradigms in Tcl/Tk and proposals for new directions. * New areas of exploration for the Tcl/Tk language Submissions should consist of an abstract of about 100 words and a summary of not more than two pages, and should be sent as plain text to <tclconference AT googlegroups DOT com> no later than August 27, 2012. Authors of accepted abstracts will have until October 29, 2012 to submit their final paper for the inclusion in the conference proceedings. The proceedings will be made available on digital media, so extra materials such as presentation slides, code examples, code for extensions etc. are encouraged. Printed proceedings will be produced as an on-demand book at lulu.com The authors will have 25 minutes to present their paper at the conference. The program committee will review and evaluate papers according to the following criteria: * Quantity and quality of novel content * Relevance and interest to the Tcl/Tk community * Suitability of content for presentation at the conference Proposals may report on commercial or non-commercial systems, but those with only blatant marketing content will not be accepted. Application and experience papers need to strike a balance between background on the application domain and the relevance of Tcl/Tk to the application. Application and experience papers should clearly explain how the application or experience illustrates a novel use of Tcl/Tk, and what lessons the Tcl/Tk community can derive from the application or experience to apply to their own development efforts. Papers accompanied by non-disclosure agreements will be returned to the author(s) unread. All submissions are held in the highest confidentiality prior to publication in the Proceedings, both as a matter of policy and in accord with the U. S. Copyright Act of 1976. The primary author for each accepted paper will receive registration to the Technical Sessions portion of the conference at a reduced rate. Other Forms of Participation The program committee also welcomes proposals for panel discussions of up to 90 minutes. Proposals should include a list of confirmed panelists, a title and format, and a panel description with position statements from each panelist. Panels should have no more than four speakers, including the panel moderator, and should allow time for substantial interaction with attendees. Panels are not presentations of related research papers. Slots for Works-in-Progress (WIP) presentations and Birds-of-a-Feather sessions (BOFs) are available on a first-come, first-served basis starting in August 6, 2012. Specific instructions for reserving WIP and BOF time slots will be provided in the registration information available in June 2012. Some WIP and BOF time slots will be held open for on-site reservation. All attendees with an interesting work in progress should consider reserving a WIP slot. Registration Information More information on the conference is available the conference Web site (http://www.tcl.tk/community/tcl2012/) and will be published on various Tcl/Tk-related information channels. To keep in touch with news regarding the conference and Tcl events in general, subscribe to the tcl-announce list. See: http://code.activestate.com/lists/tcl-announce to subscribe to the tcl-announce mailing list. Conference Committee Clif Flynt Noumena Corp General Chair, Website Admin Andreas Kupries ActiveState Software Inc. Program Chair Cyndy Lilagan Nat. Museum of Health & Medicine, Chicago Site/Facilities Chair Arjen Markus Deltares Brian Griffin Mentor Graphics Donal Fellows University of Manchester Gerald Lester KnG Consulting, LLC Jeffrey Hobbs ActiveState Software Inc. Kevin Kenny GE Global Research Center Larry Virden Mike Doyle National Museum of Health & Medicine, Chicago Ron Fox NSCL/FRIB Michigan State University Steve Landers Digital Smarties Contact Information tcl...@go... Tcl'2012 would like to thank those who are sponsoring the conference: ActiveState Software Inc. Buonacorsi Foundation Mentor Graphics Noumena Corp. SR Technology Tcl Community Association |
From: yan <314...@qq...> - 2012-07-09 07:12:40
|
Hi, I want to make PLplot working in wxWidgets based program in VS2010. And I have built PLplot 5.9.9 successfully as follows: 1. Open MS Visual Studio 2010 X86 tools command prompt 2. d: 3. mkdir build-plplot 4. cd build-plplot 5. set path=d:\build-plplot\dll;%path% 6. set WXWIN=C:\ wxWidgets-2.9.3 7. set WXWINDLL=%WXWIN%\lib\vc_dll 8. cmake d:\plplot -G "NMake Makefiles" -DwxWidgets_LIB_DIR=%WXWINDLL% -DwxWidgets_CONFIGURATION=mswu -DwxWidgets_USE_UNICODE=ON 9. nmake 10. nmake install Then I began to test the example named wxPLplotDemo in my visual studio project, however, there is a debug error when I execute the project. A wxWidgets debug alert window appeared with the following information. ..\..\src\msw\window.cpp(3734):assert “wclass” failed in wxWindows::MSWCreate():failed to register windows class ? Do you want to stop the program? …. I have been puzzled for several days, so would you please help me with this trouble? Many thanks! YanChang. |
From: Andreas K. <and...@ac...> - 2012-05-30 15:47:12
|
[[ Notes: Colin Walker of F5 is confirmed as our Keynote speaker. http://www.f5.com ]] 19th Annual Tcl/Tk Conference (Tcl'2012) http://www.tcl.tk/community/tcl2012/ November 12 - 16, 2012 Holiday Inn Chicago Mart Plaza 350 West Mart Center Drive Chicago, Illinois, USA Important Dates: Abstracts and proposals due August 27, 2012 Notification to authors September 10, 2012 WIP and BOF reservations open August 6, 2012 Author materials due October 29, 2012 Tutorials Start November 12, 2012 Conference starts November 14, 2012 Email Contact: tcl...@go... Submission of Summaries Tcl/Tk 2012 will be held in Chicago, Illinois, USA from November 12 - 16, 2012. The program committee is asking for papers and presentation proposals from anyone using or developing with Tcl/Tk (and extensions). Past conferences have seen submissions covering a wide variety of topics including: * Scientific and engineering applications * Industrial controls * Distributed applications and Network Managment * Object oriented extensions to Tcl/Tk * New widgets for Tk * Simulation and application steering with Tcl/Tk * Tcl/Tk-centric operating environments * Tcl/Tk on small and embedded devices * Medical applications and visualization * Use of different programming paradigms in Tcl/Tk and proposals for new directions. * New areas of exploration for the Tcl/Tk language Submissions should consist of an abstract of about 100 words and a summary of not more than two pages, and should be sent as plain text to <tclconference AT googlegroups DOT com> no later than August 27, 2012. Authors of accepted abstracts will have until October 29, 2012 to submit their final paper for the inclusion in the conference proceedings. The proceedings will be made available on digital media, so extra materials such as presentation slides, code examples, code for extensions etc. are encouraged. Printed proceedings will be produced as an on-demand book at lulu.com The authors will have 25 minutes to present their paper at the conference. The program committee will review and evaluate papers according to the following criteria: * Quantity and quality of novel content * Relevance and interest to the Tcl/Tk community * Suitability of content for presentation at the conference Proposals may report on commercial or non-commercial systems, but those with only blatant marketing content will not be accepted. Application and experience papers need to strike a balance between background on the application domain and the relevance of Tcl/Tk to the application. Application and experience papers should clearly explain how the application or experience illustrates a novel use of Tcl/Tk, and what lessons the Tcl/Tk community can derive from the application or experience to apply to their own development efforts. Papers accompanied by non-disclosure agreements will be returned to the author(s) unread. All submissions are held in the highest confidentiality prior to publication in the Proceedings, both as a matter of policy and in accord with the U. S. Copyright Act of 1976. The primary author for each accepted paper will receive registration to the Technical Sessions portion of the conference at a reduced rate. Other Forms of Participation The program committee also welcomes proposals for panel discussions of up to 90 minutes. Proposals should include a list of confirmed panelists, a title and format, and a panel description with position statements from each panelist. Panels should have no more than four speakers, including the panel moderator, and should allow time for substantial interaction with attendees. Panels are not presentations of related research papers. Slots for Works-in-Progress (WIP) presentations and Birds-of-a-Feather sessions (BOFs) are available on a first-come, first-served basis starting in August 6, 2012. Specific instructions for reserving WIP and BOF time slots will be provided in the registration information available in June 2012. Some WIP and BOF time slots will be held open for on-site reservation. All attendees with an interesting work in progress should consider reserving a WIP slot. Registration Information More information on the conference is available the conference Web site (http://www.tcl.tk/community/tcl2012/) and will be published on various Tcl/Tk-related information channels. To keep in touch with news regarding the conference and Tcl events in general, subscribe to the tcl-announce list. See: http://code.activestate.com/lists/tcl-announce to subscribe to the tcl-announce mailing list. Conference Committee Clif Flynt Noumena Corp General Chair, Website Admin Andreas Kupries ActiveState Software Inc. Program Chair Cyndy Lilagan Nat. Museum of Health & Medicine, Chicago Site/Facilities Chair Arjen Markus Deltares Brian Griffin Mentor Graphics Donal Fellows University of Manchester Gerald Lester KnG Consulting, LLC Jeffrey Hobbs ActiveState Software Inc. Kevin Kenny GE Global Research Center Larry Virden Mike Doyle National Museum of Health & Medicine, Chicago Ron Fox NSCL/FRIB Michigan State University Steve Landers Digital Smarties Contact Information tcl...@go... Tcl'2012 would like to thank those who are sponsoring the conference: ActiveState Software Inc. Buonacorsi Foundation Mentor Graphics Noumena Corp. SR Technology Tcl Community Association |
From: Doug V J. <do...@do...> - 2012-05-16 17:44:22
|
I have been trying to generate a timelapse plot of some data with simple date strings on the X axis labeling, however for such I need the orientation on the strings to be perpendicular to the X axis so that they do not overlap. I have looked through the documentation but have not found anything referring to this. Does anyone know if this is easily done without writing custom labeling code? Thanks in advance. -- Doug J |
From: Andreas K. <and...@ac...> - 2012-04-02 19:13:12
|
19th Annual Tcl/Tk Conference (Tcl'2012) http://www.tcl.tk/community/tcl2012/ November 12 - 16, 2012 Holiday Inn Chicago Mart Plaza 350 West Mart Center Drive Chicago, Illinois, USA Important Dates: Abstracts and proposals due August 27, 2012 Notification to authors September 10, 2012 WIP and BOF reservations open August 6, 2012 Author materials due October 29, 2012 Tutorials Start November 12, 2012 Conference starts November 14, 2012 Email Contact: tcl...@go... Submission of Summaries Tcl/Tk 2012 will be held in Chicago, Illinois, USA from November 12 - 16, 2012. The program committee is asking for papers and presentation proposals from anyone using or developing with Tcl/Tk (and extensions). Past conferences have seen submissions covering a wide variety of topics including: * Scientific and engineering applications * Industrial controls * Distributed applications and Network Managment * Object oriented extensions to Tcl/Tk * New widgets for Tk * Simulation and application steering with Tcl/Tk * Tcl/Tk-centric operating environments * Tcl/Tk on small and embedded devices * Medical applications and visualization * Use of different programming paradigms in Tcl/Tk and proposals for new directions. * New areas of exploration for the Tcl/Tk language Submissions should consist of an abstract of about 100 words and a summary of not more than two pages, and should be sent as plain text to <tclconference AT googlegroups DOT com> no later than August 27, 2012. Authors of accepted abstracts will have until October 29, 2012 to submit their final paper for the inclusion in the conference proceedings. The proceedings will be made available on digital media, so extra materials such as presentation slides, code examples, code for extensions etc. are encouraged. Printed proceedings will be produced as an on-demand book at lulu.com The authors will have 25 minutes to present their paper at the conference. The program committee will review and evaluate papers according to the following criteria: * Quantity and quality of novel content * Relevance and interest to the Tcl/Tk community * Suitability of content for presentation at the conference Proposals may report on commercial or non-commercial systems, but those with only blatant marketing content will not be accepted. Application and experience papers need to strike a balance between background on the application domain and the relevance of Tcl/Tk to the application. Application and experience papers should clearly explain how the application or experience illustrates a novel use of Tcl/Tk, and what lessons the Tcl/Tk community can derive from the application or experience to apply to their own development efforts. Papers accompanied by non-disclosure agreements will be returned to the author(s) unread. All submissions are held in the highest confidentiality prior to publication in the Proceedings, both as a matter of policy and in accord with the U. S. Copyright Act of 1976. The primary author for each accepted paper will receive registration to the Technical Sessions portion of the conference at a reduced rate. Other Forms of Participation The program committee also welcomes proposals for panel discussions of up to 90 minutes. Proposals should include a list of confirmed panelists, a title and format, and a panel description with position statements from each panelist. Panels should have no more than four speakers, including the panel moderator, and should allow time for substantial interaction with attendees. Panels are not presentations of related research papers. Slots for Works-in-Progress (WIP) presentations and Birds-of-a-Feather sessions (BOFs) are available on a first-come, first-served basis starting in August 6, 2012. Specific instructions for reserving WIP and BOF time slots will be provided in the registration information available in June 2012. Some WIP and BOF time slots will be held open for on-site reservation. All attendees with an interesting work in progress should consider reserving a WIP slot. Registration Information More information on the conference is available the conference Web site (http://www.tcl.tk/community/tcl2012/) and will be published on various Tcl/Tk-related information channels. To keep in touch with news regarding the conference and Tcl events in general, subscribe to the tcl-announce list. See: http://code.activestate.com/lists/tcl-announce to subscribe to the tcl-announce mailing list. Conference Committee Clif Flynt Noumena Corp General Chair, Website Admin Andreas Kupries ActiveState Software Inc. Program Chair Cyndy Lilagan Nat. Museum of Health & Medicine, Chicago Site/Facilities Chair Brian Griffin Mentor Graphics Ron Fox NSCL/FRIB Michigan State University Arjen Markus Deltares Mike Doyle National Museum of Health & Medicine, Chicago Gerald Lester KnG Consulting, LLC Donal Fellows University of Manchester Jeffrey Hobbs ActiveState Software Inc. Steve Landers Digital Smarties Kevin Kenny GE Global Research Center Contact Information tcl...@go... Tcl'2012 would like to thank those who are sponsoring the conference: ActiveState Software Inc. Buonacorsi Foundation Mentor Graphics Noumena Corp. SR Technology Tcl Community Association |
From: Quezada, M. <mqu...@mi...> - 2012-02-27 21:59:46
|
-----Original Message----- From: ANDREW ROSS [mailto:an...@vi...] On Behalf Of Andrew Ross Sent: Monday, February 27, 2012 2:09 PM To: Quezada, Marco Cc: Plplot-general mailing list Subject: Re: [Plplot-general] Axes not showing. On Mon, Feb 27, 2012 at 02:46:06PM +0000, Quezada, Marco wrote: > > > > For that simplest example I suggest you follow closely the model of > > our simplest standard example, examples/c/x00c.c, in the current svn > > trunk version. Except, of course, include the variation of that code > > that suppresses the axes and bounding box similar to your current much more > > complicated example that demonstrates the issue. And, of course, that > > effort on your part to replicate the problem in a simple way may be all > > the debugging you need to do to find the source fo the problem. > > > > By the way, if you don't want to download PLplot svn trunk, then the > > standard x00 code is available from the web at > > http://plplot.svn.sourceforge.net/viewvc/plplot/trunk/examples/c/x00c.c?revision=12175&view=markup. > > The equivalent code is also available in Fortran 95 > > (examples/f95/x00f.f90) and Tcl (examples/tcl/x00.tcl) and soon should > > be propagated to the rest of our languages as well because the > > simplest possible example is often so useful for for debugging > > purposes (as now) and also as a quick-start tutorial. > > > >Co-incidentally I got round to this last night so example 00 is now available > >for all languages in trunk. > > > >Andrew > > Thanks for the info, I will keep it in mind. The problem I am experiencing now seems to be more of an fltk/cairo problem where the context draws the axes when I create the plplot window but then when the data is added at a later time with plline fltk clears the context, removing the axes and draws only the data. Marco, You are entering new territory here. We have not tested plplot with fltk / cairo before. Alan's advice still stands. Try to reduce the problem down to as simple an example as possible and post it to the list. Hopefully this will allow others to reproduce your problem and give them as good a chance as possible of solving it. Incidentally, if you are willing to contribute a simple example of how to use fltk / cairo it might be a useful addition to our examples. The examples are the main way of demonstrating to users many of the features of plplot. They also serve as a useful check that things work as expected when either plplot or external libraries are upgraded. Regards Andrew Andrew, No problem, I will try my best to reduce my code to a point where I can share it to be replicated by others. Last week when I finally figured out how to use plplot on fltk through the Cairo context I put together a simple example based on one of the available demos in plplot. I sent an email to both the developers and general list announcing this and mentioned that I was happy to lend my test case to the developers for inclusion in the code as you mentioned. I pasted the code in the email also in case anyone browsing for plplot and fltk might find it and use it, but I never heard back from anyone so I was not sure there was interest on picking it up. But if there is I'll be glad to help as I can. -Marco |
From: Andrew R. <and...@us...> - 2012-02-27 19:09:45
|
On Mon, Feb 27, 2012 at 02:46:06PM +0000, Quezada, Marco wrote: > > > > For that simplest example I suggest you follow closely the model of > > our simplest standard example, examples/c/x00c.c, in the current svn > > trunk version. Except, of course, include the variation of that code > > that suppresses the axes and bounding box similar to your current much more > > complicated example that demonstrates the issue. And, of course, that > > effort on your part to replicate the problem in a simple way may be all > > the debugging you need to do to find the source fo the problem. > > > > By the way, if you don't want to download PLplot svn trunk, then the > > standard x00 code is available from the web at > > http://plplot.svn.sourceforge.net/viewvc/plplot/trunk/examples/c/x00c.c?revision=12175&view=markup. > > The equivalent code is also available in Fortran 95 > > (examples/f95/x00f.f90) and Tcl (examples/tcl/x00.tcl) and soon should > > be propagated to the rest of our languages as well because the > > simplest possible example is often so useful for for debugging > > purposes (as now) and also as a quick-start tutorial. > > > >Co-incidentally I got round to this last night so example 00 is now available > >for all languages in trunk. > > > >Andrew > > Thanks for the info, I will keep it in mind. The problem I am experiencing now seems to be more of an fltk/cairo problem where the context draws the axes when I create the plplot window but then when the data is added at a later time with plline fltk clears the context, removing the axes and draws only the data. Marco, You are entering new territory here. We have not tested plplot with fltk / cairo before. Alan's advice still stands. Try to reduce the problem down to as simple an example as possible and post it to the list. Hopefully this will allow others to reproduce your problem and give them as good a chance as possible of solving it. Incidentally, if you are willing to contribute a simple example of how to use fltk / cairo it might be a useful addition to our examples. The examples are the main way of demonstrating to users many of the features of plplot. They also serve as a useful check that things work as expected when either plplot or external libraries are upgraded. Regards Andrew |
From: Quezada, M. <mqu...@mi...> - 2012-02-27 14:46:18
|
-----Original Message----- From: ANDREW ROSS [mailto:an...@vi...] On Behalf Of Andrew Ross Sent: Saturday, February 25, 2012 1:44 AM To: Plplot-general mailing list Cc: Quezada, Marco Subject: Re: [Plplot-general] Axes not showing. On Fri, Feb 24, 2012 at 10:08:34AM -0800, Alan Irwin wrote: > On 2012-02-24 17:20-0000 Quezada, Marco wrote: > > > > > Would anyone have an idea for why the viewport will show the plots for the data but the axes > > and the bounding box are not present? I even tried calling plflush() after adding the data but > > the refreshed image still only shows the data lines only. > > Hi Marco: > > Your report currently gives too little details to allow us to help you out. > > So please give the simplest possible example that shows the exact > issue so we have a concrete demonstration of the issue. I emphasize > "simplest possible example" because that should always be the first > step in debugging in any case and because none of us are likely to > have the time/motivation to work with a debugging example that is too > complicated. > > For that simplest example I suggest you follow closely the model of > our simplest standard example, examples/c/x00c.c, in the current svn > trunk version. Except, of course, include the variation of that code > that suppresses the axes and bounding box similar to your current much more > complicated example that demonstrates the issue. And, of course, that > effort on your part to replicate the problem in a simple way may be all > the debugging you need to do to find the source fo the problem. > > By the way, if you don't want to download PLplot svn trunk, then the > standard x00 code is available from the web at > http://plplot.svn.sourceforge.net/viewvc/plplot/trunk/examples/c/x00c.c?revision=12175&view=markup. > The equivalent code is also available in Fortran 95 > (examples/f95/x00f.f90) and Tcl (examples/tcl/x00.tcl) and soon should > be propagated to the rest of our languages as well because the > simplest possible example is often so useful for for debugging > purposes (as now) and also as a quick-start tutorial. > >Co-incidentally I got round to this last night so example 00 is now available >for all languages in trunk. > >Andrew Thanks for the info, I will keep it in mind. The problem I am experiencing now seems to be more of an fltk/cairo problem where the context draws the axes when I create the plplot window but then when the data is added at a later time with plline fltk clears the context, removing the axes and draws only the data. -Marco |
From: Andrew R. <and...@us...> - 2012-02-25 06:44:00
|
On Fri, Feb 24, 2012 at 10:08:34AM -0800, Alan Irwin wrote: > On 2012-02-24 17:20-0000 Quezada, Marco wrote: > > > > > Would anyone have an idea for why the viewport will show the plots for the data but the axes > > and the bounding box are not present? I even tried calling plflush() after adding the data but > > the refreshed image still only shows the data lines only. > > Hi Marco: > > Your report currently gives too little details to allow us to help you out. > > So please give the simplest possible example that shows the exact > issue so we have a concrete demonstration of the issue. I emphasize > "simplest possible example" because that should always be the first > step in debugging in any case and because none of us are likely to > have the time/motivation to work with a debugging example that is too > complicated. > > For that simplest example I suggest you follow closely the model of > our simplest standard example, examples/c/x00c.c, in the current svn > trunk version. Except, of course, include the variation of that code > that suppresses the axes and bounding box similar to your current much more > complicated example that demonstrates the issue. And, of course, that > effort on your part to replicate the problem in a simple way may be all > the debugging you need to do to find the source fo the problem. > > By the way, if you don't want to download PLplot svn trunk, then the > standard x00 code is available from the web at > http://plplot.svn.sourceforge.net/viewvc/plplot/trunk/examples/c/x00c.c?revision=12175&view=markup. > The equivalent code is also available in Fortran 95 > (examples/f95/x00f.f90) and Tcl (examples/tcl/x00.tcl) and soon should > be propagated to the rest of our languages as well because the > simplest possible example is often so useful for for debugging > purposes (as now) and also as a quick-start tutorial. Co-incidentally I got round to this last night so example 00 is now available for all languages in trunk. Andrew |
From: Alan W. I. <ir...@be...> - 2012-02-24 18:08:41
|
On 2012-02-24 17:20-0000 Quezada, Marco wrote: > > Would anyone have an idea for why the viewport will show the plots for the data but the axes > and the bounding box are not present? I even tried calling plflush() after adding the data but > the refreshed image still only shows the data lines only. Hi Marco: Your report currently gives too little details to allow us to help you out. So please give the simplest possible example that shows the exact issue so we have a concrete demonstration of the issue. I emphasize "simplest possible example" because that should always be the first step in debugging in any case and because none of us are likely to have the time/motivation to work with a debugging example that is too complicated. For that simplest example I suggest you follow closely the model of our simplest standard example, examples/c/x00c.c, in the current svn trunk version. Except, of course, include the variation of that code that suppresses the axes and bounding box similar to your current much more complicated example that demonstrates the issue. And, of course, that effort on your part to replicate the problem in a simple way may be all the debugging you need to do to find the source fo the problem. By the way, if you don't want to download PLplot svn trunk, then the standard x00 code is available from the web at http://plplot.svn.sourceforge.net/viewvc/plplot/trunk/examples/c/x00c.c?revision=12175&view=markup. The equivalent code is also available in Fortran 95 (examples/f95/x00f.f90) and Tcl (examples/tcl/x00.tcl) and soon should be propagated to the rest of our languages as well because the simplest possible example is often so useful for for debugging purposes (as now) and also as a quick-start tutorial. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |
From: Quezada, M. <mqu...@mi...> - 2012-02-24 17:20:52
|
Would anyone have an idea for why the viewport will show the plots for the data but the axes and the bounding box are not present? I even tried calling plflush() after adding the data but the refreshed image still only shows the data lines only. Thanks. -Marco |
From: Hazen B. <hba...@ma...> - 2012-02-23 20:53:48
|
On 02/23/2012 03:31 PM, Slavomir Hnatic wrote: > Hello, > I am looking to plot dynamically (tick by tick) data into a plot from C/C++. > > Any example how to do this in plplot would be very helpful > , > could you give me a hint please? > I'm not sure exactly what you are trying to do, but perhaps Example 17 is what you are looking for (This demonstrates the stripchart functionality of PLplot). If you want a static plot (i.e. unchanging axises) w/ points that appear then you can probably draw a point, and then call plflush() to force an update of the plot. How well this works will be some what dependent on which output device driver you use. Also, we'd appreciate it if you'd send your questions to the mailing list so that others can also benefit. -Hazen |
From: Quezada, M. <mqu...@mi...> - 2012-02-16 21:45:38
|
I am building a surface with 2 viewports and then trying to update both with real-time data. The problem I am having is that only the last viewport built gets data added to it. The data is correct and the plot looks good, except that only one chart has it. Here is a snippet of the code: // In Cairo window constructor { ... // Initialize the surface and build the viewports mPLS = new plstream(); // Re-size the device view surface to the size of the cairo window std::string geom(ATMLabUtils::Strings::ToString(this->w()) + "x" + ATMLabUtils::Strings::ToString(this->h())); mPLS->setopt("-geometry", geom.c_str()); mPLS->sdev("extcairo"); //mPLS->star(2, 1); mPLS->init(); mPLS->cmd(PLESC_DEVINIT, fltk::cr); mPLS->adv(0); // Create the viewports (see below for details of the UFMPlot class mPLS->vpor(0.1, 0.45, 0.15, 0.9); mPlots.push_back(UFMPlot(mPLS)); mPLS->vpor(0.55, 0.9, 0.15, 0.9); mPlots.push_back(UFMPlot(mPLS)); ... } // In Cairo window real-time update data capture call { ... for(unsigned int i = 0; i < mPlots.size(); ++i) { //The values t and y2 are computed elsewhere and passed to this call mPlots[i].AddPoint(t, y2, 0); } //if ( n % 2 ) // mPLS->stripa( id1, 0, t, y1 ); //if ( n % 3 ) // mPLS->stripa( id1, 1, t, y2 ); //if ( n % 4 ) // mPLS->stripa( id1, 2, t, y3 ); //if ( n % 5 ) // mPLS->stripa( id1, 3, t, y4 ); ... } ///// UFMPlot class snippet UFMPlot(plstream *pls) : mPLS(pls) { if(pls == NULL) { throw(std::string("UFMPlot() : You need a valid plstream reference.")); } mPLS->col0(1); // scale the window to the data world coordinates and build the bounding box mPLS->wind(0.0, 100.0, -1.0, 1.0); mPLS->box("bcnst", 0.0, 0, "bcnstv", 0.0, 0); mPLS->col0(2); mPLS->lab("time (sec)", "Signal", "Test plot"); // Build a grid mPLS->box("g", 10.0, 0, "g", 0.1, 0); pX = pY = 0; } void AddPoint(PLFLT x, PLFLT y, PLINT pen) { mPLS->col0(4); // Store the data into stl vectors mData.Add(x, y, pen); unsigned int xc, yc; // These 2 calls return the pointer to the top of the x and y data vectors which is what plplot needs. PLFLT *X = mData.GetArray(UFMPlotDataSet::X, 0, pen, xc); PLFLT *Y = mData.GetArray(UFMPlotDataSet::Y, 0, pen, yc); unsigned int count = xc < yc ? xc : yc; mPLS->line(count, X, Y); } -Marco |
From: Quezada, M. <mqu...@mi...> - 2012-02-16 15:56:25
|
Just wanted to update my post from yesterday with a small change. I found out later that when using the cairo window within a parent fltk::Window along with other widgets (in my case the plplot cairo window is part of a fltk::TabGroup), the call that passes the fltk cairo context to the plplot library for initialization ( mPLS->cmd(PLESC_DEVINIT, fltk::cr) ) will affect the layout of the rest of the widgets in the fltk application. So to fix that the cmd call must be wrapped in cairo_save/restore calls. This unexpectedly inverted the plot when it was drawn, so that the chart was drawn reflected about its x axis. To correct this behavior inside CairoWindow::draw() apply a translation and a scaling to the cairo context before making any plplot calls. See below. -Marco // This example was compiled using the following commands: // // c++ -g3 -O0 -I/devel/UFM/fltk-2.0.x-alpha-r9204 -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -Wno-non-virtual-dtor `PKG_CONFIG_PATH=/usr/local/depot/plplot-5.9.7/plplot-5.9.7/lib/pkgconfig pkg-config --cflags plplotd plplotd-c++` -c -o cairo.o cairo.cxx // c++ -g3 -O0 -Wl,-rpath -Wl,/usr/local/depot/plplot-5.9.7/plplot-5.9.7/lib:/usr/local/depot/qt-4.7.4/qt-4.7.4/lib:/usr/local/plplot-5.9.7/lib -o cairo cairo.o -L/devel/UFM/fltk-2.0.x-alpha-r9204/lib -lfltk2_gl -lGLU -lGL -lfltk2 -lX11 -lXi -lXinerama -lXft -lpthread -lm -lXext -lcairo -lsupc++ `PKG_CONFIG_PATH=/usr/local/depot/plplot-5.9.7/plplot-5.9.7/lib/pkgconfig pkg-config --libs plplotd plplotd-c++ cairo` // // Adjust the path to your plplot and fltk libraries as necessary. Also, fltk was configured with -enable-cairo=yes #include <config.h> #include <fltk/run.h> //#include <fltk/x.h> #include <fltk/fltk_cairo.h> #include <fltk/DoubleBufferWindow.h> #include <fltk/draw.h> #include <fltk/math.h> #include <fltk/Group.h> #include <fltk/TabGroup.h> #include <iostream> #include <plplot.h> #include <plstream.h> using namespace fltk; int nsteps = 1000; class CairoWindow : public Window { public: CairoWindow(int argc, const char *argv[]) : Window(720,540), firstPass(true), ArgC(argc), ArgV(argv) { n = 0; resizable(this); // comment this out for fixed-size color(fltk::WHITE); // desired background color } CairoWindow(int x, int y, int w, int h, int argc, const char *argv[]) : Window(x, y, w, h), firstPass(true), ArgC(argc), ArgV(argv) { n = 0; resizable(this); // comment this out for fixed-size color(fltk::WHITE); // desired background color } bool firstPass; int ArgC; const char **ArgV; void Init() { // Make sure the cairo context exists before attempting // to pass the pointer to plplot. if(fltk::cr != NULL) { // Perform the plplot initialization required by your // task. pls = new plstream(); pls->parseopts(&ArgC, ArgV, PL_PARSE_FULL); ymin = -0.1; ymax = 0.1; tmin = 0.; tmax = 110.; tjump = 0.3; colbox = 1; collab = 3; styline[0] = colline[0] = 2; // pens color and line style styline[1] = colline[1] = 3; styline[2] = colline[2] = 4; styline[3] = colline[3] = 5; legline[0] = "sum"; // pens legend legline[1] = "sin"; legline[2] = "sin*noi"; legline[3] = "sin+noi"; xlab = 0.; ylab = 0.25; // legend position autoy = true; // autoscale y acc = true; pls->sdev("extcairo"); pls->init(); // Need to save the cairo context or else the rest of // the fltk drawing calls get out of whack... cairo_save(cr); pls->cmd(PLESC_DEVINIT, fltk::cr); cairo_restore(cr); pls->adv(0); pls->vsta(); pls->sError(&pl_errcode, errmsg); pls->stripc( &id1, "bcnst", "bcnstv", tmin, tmax, tjump, ymin, ymax, xlab, ylab, autoy, acc, colbox, collab, colline, styline, legline, "t", "", "Strip chart demo" ); if ( pl_errcode ) { std::cout << errmsg << std::endl; delete pls; exit( 1 ); } pls->sError(NULL, NULL); autoy = false; // autoscale y acc = true; // accumulate/ y1 = y2 = y3 = y4 = 0.0; dt = 0.1; // Only after successfully calling this we can flip the // flag to false. firstPass = false; } } static void TimeOutCB(void *data) { CairoWindow *w = (CairoWindow *) data; // We check if we should run the real-time data // capture and computation, otherwise do not // reset the timeout and "stop" the real-time. if(w->n < nsteps) { // If this is the first time we called in here // then initialize the class and the plplot interface. if(w->firstPass == true) { w->Init(); } else { // Otherwise, perform the real-time computation // and request a re-draw of the screen from the // fltk main loop. w->Compute(); fltk::redraw(); } fltk::repeat_timeout(0.01, w->TimeOutCB, data); } } void Compute() { // Compute values for each time-step t = (double) n * dt; //noise = (1.0 * (rand() / (RAND_MAX + 1.0))) - 0.5; noise = pls->randd() - 0.5; y1 = y1 + noise; y2 = sin( t * M_PI / 18. ); y3 = y2 * noise; y4 = y2 + noise / 3.; ++n; } void draw() { // So we wait to see if this is the first time we called into here // and if it is, then we set timeout. Now go to TimeOutCB to follow // the sequence of events. if(firstPass == false) { cairo_save(cr); // For a reason I don't understand, adding the // cairo_save/restore calls in Init() when passing // the cairo context in pls->cmd(PLESC_DEVINIT, fltk::cr) // causes the plot to draw up-side-down, so we reflect // it back to right-side-up. cairo_translate(cr, 0.0, h()); cairo_scale(cr, 1.0, -1.0); if ( n % 2 ) pls->stripa( id1, 0, t, y1 ); if ( n % 3 ) pls->stripa( id1, 1, t, y2 ); if ( n % 4 ) pls->stripa( id1, 2, t, y3 ); if ( n % 5 ) pls->stripa( id1, 3, t, y4 ); cairo_restore(cr); } else { fltk::add_timeout(0.01, this->TimeOutCB, this); } } static PLINT pl_errcode; static char errmsg[160]; PLINT n; private: plstream *pls; PLINT id1; bool autoy, acc; PLFLT y1, y2, y3, y4, ymin, ymax, xlab, ylab; PLFLT t, tmin, tmax, tjump, dt, noise; PLINT colbox, collab, colline[4], styline[4]; const char *legline[4]; }; PLINT CairoWindow::pl_errcode = 0; char CairoWindow:: errmsg[160] = ""; int main(int argc, char** argv) { fltk::Window *w = new fltk::Window(720, 540); w->begin(); { fltk::TabGroup *t = new fltk::TabGroup(0, 0, w->w(), w->h()); t->begin(); { //fltk::Group *g = new fltk::Group(0, 0, t->w(), t->h() - 24, " Plot "); //g->box(fltk::EMBOSSED_BOX); //g->begin(); { const char *constArgv[argc]; for(int i = 0; i < argc; ++i) { constArgv[i] = "\0"; //argv[i]; } // Create the window //CairoWindow *plotWin = new CairoWindow(0, 0, g->w(), g->h(), argc, constArgv); CairoWindow *plotWin = new CairoWindow(0, 0, t->w(), t->h() - 24, argc, constArgv); } //g->end(); } t->end(); } w->end(); w->show(); // The plplot library expects argv as const pointers // but fltk does not, so we create a const copy to pass // to plplot. //const char *constArgv[argc]; //for(int i = 0; i < argc; ++i) //{ // constArgv[i] = argv[i]; //} //// Create the window //CairoWindow window(argc, constArgv); //window.show(argc,argv); // In fltk, ONLY after calling the main loop in run() will the // fltk cairo context be created and the surface initialized. // Trying to operate on the fltk cairo context before calling run() // will result in the use of a null pointer. From here go to draw() call // in CairoWindow() for more comments on these steps. return fltk::run(); } |
From: Alan W. I. <ir...@be...> - 2012-01-20 04:49:09
|
On 2012-01-17 22:25-0000 Quezada, Marco wrote: > Has there been any effort to develop a driver that would integrate plplot into the fltk gui library? Just wondering if anyone has > looked into it or if I need to plan for that or switching our gui to QT J. Hi Marco: Thanks for your interest in PLplot. Could you expand on what you mean by "QT J"? If that is QuickTime for Java (usually referred to as QTJ), then we don't support it. I checked back over our mailing list messages, and there were a few mentions of fltk, but nothing serious. Therefore, if you wanted to develop a PLplot device driver based on fltk, I am virtually positive you would not be duplicating anyone else's effort. Our current interactive devices (with device driver in parentheses) are the following: tk (tk) xwin (xwin) wxwidgets (wxwidgets) xcairo (cairo) qtwidget (qt) -dev tk has our most comprehensive GUI capabilities, but its big drawback is support just for the ugly Hershey fonts. A smaller drawback is it uses full X capabilities (not the limited cross-platform X) so it doesn't work on Windows. The rest of our drivers have limited GUI capabilities, but that is something that should be straightforward to fix if anybody was keen so I won't mention this is the summaries for the rest of our interactive devices. -dev xwin just uses Hershey fonts. It is stable and fast, but does not work on Windows. -dev wxwidgets works on all three OS platforms (Linux, Mac OS X, Windows). It does have some on-going maintenance issues although I keep hoping those will be rectified by some interested volunteer. It does have access to high-quality fonts, but the plfreetype method used is not recommended any longer since controlling the fonts used (by mentioning the font files by name) is painful and also inflexible. It should be straightforward to move to a fontconfig method of controlling the fonts, but nobody has volunteered to do this. Another issue is the plfreetype method simple renders the text in left-to-right fashion so use of wxwidgets with CTL (complex text layout) languages does not work. -dev xcairo and -dev qtwidgets are well-maintained modern interactive device drivers for PLplot which can render CTL languages with ease in a huge variety of fonts that are easily controlled by the user. They also work on all the major OS platforms (Linux, Mac OS X, and Windows). These are the interactive GUI device drivers to use for a prototype if you are going to develop a fltk-based device driver. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |
From: Quezada, M. <mqu...@mi...> - 2012-01-17 22:25:45
|
Has there been any effort to develop a driver that would integrate plplot into the fltk gui library? Just wondering if anyone has looked into it or if I need to plan for that or switching our gui to QT :). Thanks! -Marco |
From: Pascal <pas...@pa...> - 2011-12-12 12:52:56
|
On 12/11/2011 01:10 PM, Pascal wrote: > Le samedi 10 décembre 2011 14:54:12 Hezekiah M. Carty a écrit : > >> On Sat, Dec 10, 2011 at 7:57 AM, Pascal<pas...@pa...> wrote: >> >>> Hi, >>> >>> I have some trouble with a gradient to use with plimagefr. To me it >>> looks like wrong, can someone confirm if it is a normal behaviour or a >>> bug? I am using the f90 interface. >>> http://pascal.parois.net/public/gradient.png >>> Ok, I found the problem: in plctrl.c, void plcmap1_calc( void ) //! Bin up cmap 1 space and assign colors to make inverse mapping easy. //! Always do interpolation in HLS space. The rgb is first converted to hls so I can't have a linear gradient in rgb. I was also confusing hls and hsv, so this works in hls: call plscmap1l(.false., & & (/0.0_plflt, 0.499_plflt, 0.501_plflt, 1.0_plflt /),& & (/0.0_plflt, 0.0_plflt, 120.0_plflt, 120.0_plflt /),& & (/0.2_plflt, 1.0_plflt, 1.0_plflt, 0.2_plflt /),& & (/1.0_plflt, 1.0_plflt, 1.0_plflt, 1.0_plflt /) ) The bug report associated (This point needs clarifications): https://sourceforge.net/tracker/?func=detail&aid=3458200&group_id=2915&atid=102915 Pascal |
From: Pascal <pas...@pa...> - 2011-12-11 12:11:01
|
Le samedi 10 décembre 2011 14:54:12 Hezekiah M. Carty a écrit : > On Sat, Dec 10, 2011 at 7:57 AM, Pascal <pas...@pa...> wrote: > > Hi, > > > > I have some trouble with a gradient to use with plimagefr. To me it > > looks like wrong, can someone confirm if it is a normal behaviour or a > > bug? I am using the f90 interface. > > http://pascal.parois.net/public/gradient.png > > If you use plimage, plimagefr, or plshades you will only have as many > steps in the gradient as you have elements in the source array. If > you want a smoother gradient you can either use a larger source array > with smoothly varying values in plimagefr or you can use the > plgradient function. plgradient supports smooth gradients similar to > your example from Gimp. Depending on your output device, plgradient > will either give an example similar to what you showed from Gimp or it > will use internal fallback to approximate a smooth gradient. Did not notice I did not replied to the list... So, it was not about the smoothness but the colour which seem off to me. I can't get anything close to what I have with gimp or pgplot. I tried like you said: call plscmap1l(.true., & & (/0.0_plflt, 0.499_plflt, 0.501_plflt, 1.0_plflt /),& & (/0.0_plflt, 1.0_plflt, 1.0_plflt, 0.0_plflt /),& & (/0.0_plflt, 1.0_plflt, 1.0_plflt, 1.0_plflt /),& & (/1.0_plflt, 1.0_plflt, 1.0_plflt, 0.0_plflt /) ) I also tried using HLS without any luck. Back to RGB, I obtained this (from top to bottom): In the first part, how come R is different than B ? And, why it is not a linear interpolation ? R G B 000 255 000 085 242 040 142 234 074 186 227 110 210 224 138 224 220 167 226 217 191 231 222 214 238 234 232 250 249 249 ---------------- 249 248 248 238 231 231 230 212 212 225 189 189 224 165 165 224 136 136 228 107 107 235 071 071 244 036 036 255 000 000 When I calculate it manually, everything is fine: -------------- integer, dimension(255) :: rr,gg,bb call plscmap1n(255) rr=255 gg=255 do i=0,126 gg(i+1)=i*2 bb(i+1)=i*2 rr(i+129)=252-i*2 bb(i+129)=252-i*2 end do bb(128)=255 call plscmap1(rr,gg,bb); ----------- Pascal |
From: Hezekiah M. C. <hez...@us...> - 2011-12-10 20:49:26
|
On Sat, Dec 10, 2011 at 7:57 AM, Pascal <pas...@pa...> wrote: > Hi, > > I have some trouble with a gradient to use with plimagefr. To me it looks like > wrong, can someone confirm if it is a normal behaviour or a bug? I am using the > f90 interface. > http://pascal.parois.net/public/gradient.png > If you use plimage, plimagefr, or plshades you will only have as many steps in the gradient as you have elements in the source array. If you want a smoother gradient you can either use a larger source array with smoothly varying values in plimagefr or you can use the plgradient function. plgradient supports smooth gradients similar to your example from Gimp. Depending on your output device, plgradient will either give an example similar to what you showed from Gimp or it will use internal fallback to approximate a smooth gradient. Hez |
From: Pascal <pas...@pa...> - 2011-12-10 12:57:18
|
Hi, I have some trouble with a gradient to use with plimagefr. To me it looks like wrong, can someone confirm if it is a normal behaviour or a bug? I am using the f90 interface. http://pascal.parois.net/public/gradient.png Here is how I generated the gradient: call plscmap1n(256) call plscmap1l(.true., & & (/0.0_plflt, 0.5_plflt, 1.0_plflt /),& & (/1.0_plflt, 1.0_plflt, 0.0_plflt /),& & (/0.0_plflt, 1.0_plflt, 1.0_plflt /),& & (/0.0_plflt, 1.0_plflt, 0.0_plflt /) ) And a complete testcase: -------------------------------------- program buggy use plplot implicit none integer, parameter :: width=256, height=200 integer i real(kind=plflt), dimension(width,height) :: plane real(kind=plflt) :: heightr, widthr heightr=real(height,plflt) widthr=real(width,plflt) call plspal0('cmap0_black_on_white.pal') call plinit() ! advance to the next sub page or page call pladv(0) ! define viewport call plvpas(0.1_plflt, 0.9_plflt, 0.1_plflt, 0.9_plflt, 2.0_plflt) ! define window call plwind(0._plflt, widthr, & & 0._plflt, heightr ) call plscmap1n(256) call plscmap1l(.true., & & (/0.0_plflt, 0.5_plflt, 1.0_plflt /),& & (/1.0_plflt, 1.0_plflt, 0.0_plflt /),& & (/0.0_plflt, 1.0_plflt, 1.0_plflt /),& & (/0.0_plflt, 1.0_plflt, 0.0_plflt /) ) do i=0,19 plane(:,i*10+1:(i+1)*10)=real(i-10, plflt) end do call plimagefr (plane, 0.0_plflt, widthr, & & 0.0_plflt, heightr , minval(plane) , maxval(plane) , & & -10.0_plflt , 10.0_plflt) call plend end program ---------------------------------------- Pascal |
From: Arjen M. <arj...@de...> - 2011-11-23 08:22:49
|
Hi Hiro, using gfortran instead of g95 should be easy enough: - Install gfortran on your machine and make sure the path to the compiler is upfront in the PATH environment variable - Run CMake in a clean directory. I usually use a command-line like this: cmake ../plplot -G "UNIX Makefiles" -DBUILD_TEST=ON (The generator for my system is "MinGW Makefiles" but that is Windows-specific) - Run make to build the libraries and the test programs This ought to work. Regards, Arjen On 2011-11-23 09:16, hi...@gs... wrote: > > Hello Arjen, > > Thank you for the reply. Although I've already tested to build plplot with g95, fortran binding was not generated by pkgconfig. If you show me testing-instruction to build plplot with fortran, I would like to do that. > > Sincerely, > Hiro > > > On 2011/11/21, at 19:23, Arjen Markus wrote: > >> Hello Hiro, >> >> I do not have access to Mac OSX, so I will have to extrapolate from >> Windows and Linux instead. On Windows and assuming gfortran as >> the compiler) the libraries you need to add to the link statement are: >> - libplplotf95d.dll.a >> - libplplotf95cd.dll.a >> - libplplotd.dll.a >> >> (at the very least) >> >> We have not tested the buil with g95 in a long time and it may be >> problematic, as g95 does not seem to be actvely maintained anymore. >> >> Can you try with gfortran instead? >> >> Regards, >> >> Arjen >> >> On 2011-11-21 11:00, Hiroyasu Yasuda wrote: >>> Hello, >>> I'm trying to build Plplot with Fortran on Mac OSX using Macports. Actually Macports installation seems to succeed to build plplot with fortran, however there is no examples of fortran in /opt/local/share/plplot5.9.7/examples and any fortran cords with plplot function fail to built because there is no plplotd-f77 or plplotd-f95. If pkgconfig building for fortran can do forcedly, I think this problem will be solved. Please let me know solutions to build plplot with fortran on Mac OSX. >>> My Environments: >>> OS; Mac OSX 10.6.8 >>> Macports; 2.0.3 >>> Installation commands; sudo port install plplot +g95 >>> Installation commands; sudo port install plplot +gcc44 >>> Hiro >>> -- >>> Hiroyasu Yasuda >>> Research Institute for Natural Hazards & Disaster Recovery >>> Niigata University >>> Ikarashi 2-no-cho, Nis-ku, Niigata, 950-2181, Japan Phone +81-25-262-7053 Facsimile +81-25-262-7050 E-mail hi...@gs... .´ ̄`. >>> : (` : `. `´ : >>> `・--´ >>> ------------------------------------------------------------------------------ >>> All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. >>> http://p.sf.net/sfu/splunk-novd2d >>> _______________________________________________ >>> Plplot-general mailing list >>> Plp...@li... >>> https://lists.sourceforge.net/lists/listinfo/plplot-general DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited. The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail. |
From: Hiroyasu Y. <hi...@gs...> - 2011-11-22 01:37:11
|
Hello Arjen, Thank you for the reply. Although I've already tested to build plplot with g95, fortran binding was not generated by pkgconfig. If you show me testing-instruction to build plplot with fortran, I would like to do that. Sincerely, Hiro On 2011/11/21, at 19:23, Arjen Markus wrote: > Hello Hiro, > > I do not have access to Mac OSX, so I will have to extrapolate from > Windows and Linux instead. On Windows and assuming gfortran as > the compiler) the libraries you need to add to the link statement are: > - libplplotf95d.dll.a > - libplplotf95cd.dll.a > - libplplotd.dll.a > > (at the very least) > > We have not tested the buil with g95 in a long time and it may be > problematic, as g95 does not seem to be actvely maintained anymore. > > Can you try with gfortran instead? > > Regards, > > Arjen > > On 2011-11-21 11:00, Hiroyasu Yasuda wrote: >> Hello, >> I'm trying to build Plplot with Fortran on Mac OSX using Macports. Actually Macports installation seems to succeed to build plplot with fortran, however there is no examples of fortran in /opt/local/share/plplot5.9.7/examples and any fortran cords with plplot function fail to built because there is no plplotd-f77 or plplotd-f95. If pkgconfig building for fortran can do forcedly, I think this problem will be solved. Please let me know solutions to build plplot with fortran on Mac OSX. >> My Environments: >> OS; Mac OSX 10.6.8 >> Macports; 2.0.3 >> Installation commands; sudo port install plplot +g95 >> Installation commands; sudo port install plplot +gcc44 >> Hiro >> -- >> Hiroyasu Yasuda >> Research Institute for Natural Hazards & Disaster Recovery >> Niigata University >> Ikarashi 2-no-cho, Nis-ku, Niigata, 950-2181, Japan Phone +81-25-262-7053 Facsimile +81-25-262-7050 E-mail hi...@gs... .$B!-!1(B`. >> : (` : `. `$B!-(B : >> `$B!&(B--$B!-!!(B >> ------------------------------------------------------------------------------ >> All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. >> http://p.sf.net/sfu/splunk-novd2d >> _______________________________________________ >> Plplot-general mailing list >> Plp...@li... >> https://lists.sourceforge.net/lists/listinfo/plplot-general > > > DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited. > The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail. > > > > (I000(B $B0BED(B $B9@J](B $B?73cBg3X(B $B:R32I|6=2J3X8&5f=j(B $B")(B950-2181 $B?73c;T@>6h8^==MrFs$ND.(B8050 TEL : 025-262-7053 FAX : 025-262-7050 E-mail : hi...@gs... Hiroyasu Yasuda Research Institute for Natural Hazards & Disaster Recovery Niigata University Ikarashi 2-no-cho, Nis-ku, Niigata, 950-2181, Japan Phone +81-25-262-7053 Facsimile +81-25-262-7050 E-mail hi...@gs... .$B!-!1(B`. : (` : `. `$B!-(B : `$B!&(B--$B!-!!(B |
From: Arjen M. <arj...@de...> - 2011-11-21 10:23:50
|
Hello Hiro, I do not have access to Mac OSX, so I will have to extrapolate from Windows and Linux instead. On Windows and assuming gfortran as the compiler) the libraries you need to add to the link statement are: - libplplotf95d.dll.a - libplplotf95cd.dll.a - libplplotd.dll.a (at the very least) We have not tested the buil with g95 in a long time and it may be problematic, as g95 does not seem to be actvely maintained anymore. Can you try with gfortran instead? Regards, Arjen On 2011-11-21 11:00, Hiroyasu Yasuda wrote: > Hello, > > I'm trying to build Plplot with Fortran on Mac OSX using Macports. Actually Macports installation seems to succeed to build plplot with fortran, however there is no examples of fortran in /opt/local/share/plplot5.9.7/examples and any fortran cords with plplot function fail to built because there is no plplotd-f77 or plplotd-f95. If pkgconfig building for fortran can do forcedly, I think this problem will be solved. Please let me know solutions to build plplot with fortran on Mac OSX. > > My Environments: > OS; Mac OSX 10.6.8 > Macports; 2.0.3 > Installation commands; sudo port install plplot +g95 > Installation commands; sudo port install plplot +gcc44 > > Hiro > > > -- > Hiroyasu Yasuda > Research Institute for Natural Hazards & Disaster Recovery > Niigata University > Ikarashi 2-no-cho, Nis-ku, Niigata, 950-2181, Japan > Phone +81-25-262-7053 Facsimile +81-25-262-7050 > E-mail hi...@gs... > > > .´ ̄`. > : (` : > `. `´ : > `・--´ > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Plplot-general mailing list > Plp...@li... > https://lists.sourceforge.net/lists/listinfo/plplot-general > > DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited. The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail. |
From: Hiroyasu Y. <hi...@gs...> - 2011-11-21 10:16:30
|
Hello, I'm trying to build Plplot with Fortran on Mac OSX using Macports. Actually Macports installation seems to succeed to build plplot with fortran, however there is no examples of fortran in /opt/local/share/plplot5.9.7/examples and any fortran cords with plplot function fail to built because there is no plplotd-f77 or plplotd-f95. If pkgconfig building for fortran can do forcedly, I think this problem will be solved. Please let me know solutions to build plplot with fortran on Mac OSX. My Environments: OS; Mac OSX 10.6.8 Macports; 2.0.3 Installation commands; sudo port install plplot +g95 Installation commands; sudo port install plplot +gcc44 Hiro -- Hiroyasu Yasuda Research Institute for Natural Hazards & Disaster Recovery Niigata University Ikarashi 2-no-cho, Nis-ku, Niigata, 950-2181, Japan Phone +81-25-262-7053 Facsimile +81-25-262-7050 E-mail hi...@gs... .´ ̄`. : (` : `. `´ : `・--´ |