Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #16319
| From | Sergio Miguel Terrazas Porras <sterraza@uacj.mx> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Manipulate and Module |
| Date | 2013-12-05 08:03 +0000 |
| Message-ID | <l7pc1c$gc6$1@smc.vnet.net> (permalink) |
| Organization | Time-Warner Telecom |
Hello folks!
I had been using Module for a while, to avoid conflcts among variables in several functions used in the same notebook.
When Manipulare came around, I modified many of my notebooks, putting a Manipulate inside the Module, something like this:
function[var1_,var2_,...]:=Module[{internal list of vars}, Manipulate[something,{var,vinit,vfinal}] ]
But once in a while I encountered problems when opening a notebook.
Something like Show[can not combine graph1 with graph2] etc.
Now, the other way woulb be to interchange Module and Manipulate, putting the Module inside the Manipulate.
What are the main differences between these two aproaches, and which one is the preffered one?
Thanks,
Sergio Terrazas
Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread
Manipulate and Module Sergio Miguel Terrazas Porras <sterraza@uacj.mx> - 2013-12-05 08:03 +0000 Re: Manipulate and Module "Nasser M. Abbasi" <nma@12000.org> - 2013-12-06 07:11 +0000
csiph-web