← Back to team overview

dolfin team mailing list archive

Re: [Branch ~dolfin-core/dolfin/trunk] Rev 6753: Merge work on built-in plotting from lp:~simula-acdc/dolfin/dolfin-plot.

 

On 06/28/2012 10:37 AM, Anders Logg wrote:
On Tue, Jun 26, 2012 at 01:35:30PM +0200, Johan Hake wrote:
On 06/26/2012 01:25 PM, Benjamin Kehlet wrote:
2012/6/26 Johan Hake <hake.dev@xxxxxxxxx>:
Very impressive!

Would it make sense to let "i" toggle vertex indices on/off instead of
having to type "o" to turn em off?

Good point! I can put that on my TODO list. We still have some minor
features that we want to implement before the next version of Dolfin
is released.

Pushed.

I maybe cell labels too? I see that there are some comments about it
in VTKPlottableMesh.cpp

It is also not clear that you can only plot vertex labels for a mesh.

Please add this to the blueprint so we can discuss it again in August
when Joachim continues the work on the plotting library.

Will do.

I want vertex, edge, face, cell labels toggable with different colors.

Sure, but you can only plot these entities when you plot a mesh. Not when plotting a field of some sort.

Johan

--
Anders


Johan

Benjamin


Johan


On 06/26/2012 12:24 PM, noreply@xxxxxxxxxxxxx wrote:

Merge authors:
   Anders Logg <logg@glaurung>
   Benjamin Kehlet (benjamik)
   Fredrik Valdmanis (fredva)
   Johan Hake (johan-hake)
   Johannes Ring (johannr)
------------------------------------------------------------
revno: 6753 [merge]
committer: Anders Logg <logg@glaurung>
branch nick: dolfin
timestamp: Tue 2012-06-26 12:20:32 +0200
message:
   Merge work on built-in plotting from lp:~simula-acdc/dolfin/dolfin-plot.
   - Implemented by Fredrik Heffer Valdmanis and Benjamin Kehlet (and
Logg).
   - This add support for most of Viper's functionality in both C++ and
Python.
   - Viper has served us well but is now going into a well-deserved
retirement.
removed:
   demo/undocumented/plot/cpp/dolfin-2.xml.gz
   dolfin/io/XMLFunctionPlotData.cpp
   dolfin/io/XMLFunctionPlotData.h
   dolfin/plot/FunctionPlotData.cpp
   dolfin/plot/FunctionPlotData.h
   site-packages/dolfin/common/donothing.py
added:
   dolfin/plot/ExpressionWrapper.cpp
   dolfin/plot/ExpressionWrapper.h
   dolfin/plot/GenericVTKPlottable.h
   dolfin/plot/VTKPlottableGenericFunction.cpp
   dolfin/plot/VTKPlottableGenericFunction.h
   dolfin/plot/VTKPlottableMesh.cpp
   dolfin/plot/VTKPlottableMesh.h
   dolfin/plot/VTKPlottableMeshFunction.h
   dolfin/plot/VTKPlotter.cpp
   dolfin/plot/VTKPlotter.h
renamed:
   demo/undocumented/plot/python/dolfin-2.xml.gz =>
demo/undocumented/plot/dolfin-2.xml.gz
modified:
   AUTHORS
   CMakeLists.txt
   demo/undocumented/plot/cpp/main.cpp
   demo/undocumented/plot/python/demo_plot.py
   dolfin/CMakeLists.txt
   dolfin/io/GenericFile.cpp
   dolfin/io/GenericFile.h
   dolfin/io/XMLFile.cpp
   dolfin/io/XMLFile.h
   dolfin/parameter/GlobalParameters.h
   dolfin/plot/dolfin_plot.h
   dolfin/plot/plot.cpp
   dolfin/plot/plot.h
   dolfin/swig/forwarddeclarations.i
   dolfin/swig/generateswigcode.py
   dolfin/swig/io/post.i
   dolfin/swig/la/docstrings.i
   dolfin/swig/la/imports.i
   dolfin/swig/la/includes.i
   dolfin/swig/la/local_imports.i
   dolfin/swig/mesh/docstrings.i
   dolfin/swig/mesh/imports.i
   dolfin/swig/mesh/includes.i
   dolfin/swig/mesh/local_imports.i
   dolfin/swig/modules/common/headers.txt
   dolfin/swig/modules/fem/headers.txt
   dolfin/swig/modules/function/headers.txt
   dolfin/swig/modules/io/headers.txt
   dolfin/swig/modules/la/headers.txt
   dolfin/swig/modules/mesh/headers.txt
   dolfin/swig/plot/docstrings.i
   dolfin/swig/plot/imports.i
   dolfin/swig/plot/includes.i
   dolfin/swig/plot/local_imports.i
   dolfin/swig/shared_ptr_classes.i
   site-packages/dolfin/common/__init__.py
   site-packages/dolfin/common/plotting.py
The size of the diff (4007 lines) is larger than your specified limit of
500 lines




_______________________________________________
Mailing list: https://launchpad.net/~dolfin
Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~dolfin
More help   : https://help.launchpad.net/ListHelp



_______________________________________________
Mailing list: https://launchpad.net/~dolfin
Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~dolfin
More help   : https://help.launchpad.net/ListHelp




Follow ups

References