Manipulate and Module
- To: mathgroup at smc.vnet.net
- Subject: [mg132096] Manipulate and Module
- From: Sergio Miguel Terrazas Porras <sterraza at uacj.mx>
- Date: Thu, 5 Dec 2013 03:05:30 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-outx@smc.vnet.net
- Delivered-to: mathgroup-newsendx@smc.vnet.net
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
- Follow-Ups:
- Re: Manipulate and Module
- From: Itai Seggev <itais@wolfram.com>
- Re: Manipulate and Module
- From: John Fultz <jfultz@wolfram.com>
- Re: Manipulate and Module
- From: Itai Seggev <itais@wolfram.com>
- Re: Manipulate and Module
- From: John Fultz <jfultz@wolfram.com>
- Re: Manipulate and Module