that is grea, many thanks again Simon!!
On 9 August 2014 11:38, Simon Danisch <[email protected]> wrote: > It is indeed the intended behavior, as I hardly use the interactive > session. > But, you can simply wrap the while loop into @async and inside the while > loop you can call a your own functions. > This way you can interactively edit this function and update the render > loop! > (Don't forget to put the GLFW.Terminate() inside the @async block, as this > will close the window otherwise) > > > 2014-08-09 12:29 GMT+02:00 Andrea Vigliotti <[email protected]>: > > >> <https://lh6.googleusercontent.com/-gKW29RS1gUY/U-X3vQOj65I/AAAAAAAACxg/-h2SXH2AmCQ/s1600/reference_cases2.png> >> >> yes! It works no, many thanks! >> >> I'll study the code and try to implement it for my needs! >> >> is it normal that I have to close the window with the picture to have >> julia's prompt back? >> >> thanks! >> andrea >> >> >> >> >> On Saturday, 9 August 2014 11:21:49 UTC+1, Simon Danisch wrote: >> >>> Try to get xorg-dev and libglu1-mesa-dev first ;) >>> >>> >>> 2014-08-09 12:17 GMT+02:00 Andrea Vigliotti <[email protected]>: >>> >>> Hi Simon, >>>> >>>> this is the output >>>> >>>> >>>> julia> Pkg.build("GLFW") >>>> INFO: Building GLFW >>>> INFO: Building GLFW 3.0.4 library from source >>>> -- Using X11 for window creation >>>> -- Using GLX for context creation >>>> CMake Error at CMakeLists.txt:204 (message): >>>> The RandR library and headers were not found >>>> >>>> >>>> -- Configuring incomplete, errors occurred! >>>> See also "/home/av388/.julia/v0.3/GLFW/deps/builds/glfw-3.0.4/ >>>> CMakeFiles/CMakeOutput.log". >>>> See also "/home/av388/.julia/v0.3/GLFW/deps/builds/glfw-3.0.4/ >>>> CMakeFiles/CMakeError.log". >>>> ERROR: failed process: Process(`cmake -DBUILD_SHARED_LIBS=ON >>>> -DGLFW_BUILD_EXAMPLES=OFF -DGLFW_BUILD_DOCS=OFF >>>> -DCMAKE_INSTALL_PREFIX=../../usr64 -DGLFW_BUILD_TESTS=OFF >>>> ../../src/glfw-3.0.4`, ProcessExited(1)) [1] >>>> WARNING: Build failed, you may need to manually install the library (see >>>> http://www.glfw.org/download.html for more information) >>>> >>>> julia> >>>> >>>> I guess I need to install glfw manually >>>> >>>> >>>> On Saturday, 9 August 2014 10:53:42 UTC+1, Simon Danisch wrote: >>>>> >>>>> Don't worry about bothering me, it's in my interest to make this run >>>>> smooth ;) >>>>> On which platform are you? >>>>> You might need to run Pkg.build("GLFW") >>>>> If that doesn't work, it will help to post the output of >>>>> Pkg.build("GLFW") >>>>> >>>>> >>>>> Am Mittwoch, 6. August 2014 15:22:57 UTC+2 schrieb Andrea Vigliotti: >>>>>> >>>>>> Hi All, >>>>>> >>>>>> >>>>>> does anyboby know how to plot a 2D polygonal patch with interpolated >>>>>> colouring, based on the nodal values? >>>>>> >>>>>> I would basically like to reproduce the matlab "patch" command, and I >>>>>> need it to post-process some simulation results from on a finite element >>>>>> model, what I would like to obtain is some contour filled plot on the >>>>>> deformed model, which has an arbitrary shape >>>>>> >>>>>> PyPlot includes the fill() command that draws filled polygonal with >>>>>> flat colour, but I couldn't find a version that plots polygons with >>>>>> interpolated colours, >>>>>> >>>>>> do you guys have any suggestion about this? >>>>>> >>>>>> thanks, >>>>>> >>>>>> andrea >>>>>> >>>>> >>> >
