Re: boolean variable with contours
- To: mathgroup at smc.vnet.net
- Subject: [mg110676] Re: boolean variable with contours
- From: maria giovanna dainotti <mariagiovannadainotti at yahoo.it>
- Date: Fri, 2 Jul 2010 02:54:37 -0400 (EDT)
- References: <201007011234.IAA18567@smc.vnet.net>
Dear Math Group, I have the following problem when I do a contourplot I can't use the boolean variabile. This is the function for which I would like to have the contours R1=1.029 R2=2.92 R3=20 e1=300 e2=1 e3=100 i=pi/12 ContourPlot[2*R3*Sin[ArcCos[Re[x/R3]]]*e3+2*R2/Cos[i]*Sin[ArcCos[Re[x/2.92]]]*(e2-e3)+2*R1/Cos[i]*Sin[ArcCos[Re[x/R1]]]*(e1-e2),(2*R3*Sin[ArcCos[Re[x/R3]]]*e3+2*R2/Cos[i]*Sin[ArcCos[Re[x/R2]]]*(e2-e3))*(Boole[-R2<x<-R1]+Boole[R2>x>R1]),2*R3*Sin[ArcCos[Re[x/R3]]]*e3*(Boole[x<-R2]+Boole[x>R2])+R3*Cos[ArcSin[y/R3]],{x,-2,2 },{y,-20,20}] Thanks a lot for your help Maria