Skip to main content
added 133 characters in body
Source Link
Dr. belisarius
  • 116.8k
  • 13
  • 208
  • 466

I don't understand the "combining" part of your question, but this makes a contour plot:

ListContourPlot[Flatten /@ Flatten[Transpose[{Outer[List, x, y], mat}, {3, 2, 1}], 1]]1], Epilog -> {Red, PointSize[Medium], Point /@ Outer[List, x, y]}]] 

OutputMathematica graphics

ContourPlot[ Interpolation[Flatten[Transpose[{Outer[List, x, y], mat}, {3, 2, 1}], 1]][u, v], Evaluate@{u, Sequence @@ ({Min@#, Max@#} &[x])}, Evaluate@{v, Sequence @@ ({Min@#, Max@#} &[y])}] 

Mathematica graphics

I don't understand the "combining" part of your question, but this makes a contour plot:

ListContourPlot[Flatten /@ Flatten[Transpose[{Outer[List, x, y], mat}, {3, 2, 1}], 1]] 

Output

ContourPlot[ Interpolation[Flatten[Transpose[{Outer[List, x, y], mat}, {3, 2, 1}], 1]][u, v], Evaluate@{u, Sequence @@ ({Min@#, Max@#} &[x])}, Evaluate@{v, Sequence @@ ({Min@#, Max@#} &[y])}] 

Mathematica graphics

I don't understand the "combining" part of your question, but this makes a contour plot:

ListContourPlot[Flatten /@ Flatten[Transpose[{Outer[List, x, y], mat}, {3, 2, 1}], 1], Epilog -> {Red, PointSize[Medium], Point /@ Outer[List, x, y]}]] 

Mathematica graphics

ContourPlot[ Interpolation[Flatten[Transpose[{Outer[List, x, y], mat}, {3, 2, 1}], 1]][u, v], Evaluate@{u, Sequence @@ ({Min@#, Max@#} &[x])}, Evaluate@{v, Sequence @@ ({Min@#, Max@#} &[y])}] 

Mathematica graphics

deleted 71 characters in body
Source Link
Dr. belisarius
  • 116.8k
  • 13
  • 208
  • 466

I don't understand the "combining" part of your question, but this makes a contour plot:

ListContourPlot@ Flatten[ MapThread[ List[Sequence @@ #1, #2]ListContourPlot[Flatten &,/@ Flatten[Transpose[{Outer[List, x, y], mat}, 2]{3,  2, 1}], 1]1]] 

Output

ContourPlot[  Interpolation[ FlattenAt[MapThread[List, Interpolation[Flatten[Transpose[{Outer[List, x, y], mat}, 2]{3, List/@2, Range@Length@x]][u1}], 1]][u, v], Evaluate@{u, Sequence @@ ({Min@#, Max@#} &[x])}, Evaluate@{v, Sequence @@ ({Min@#, Max@#} &[y])}] 

Mathematica graphics

I don't understand the "combining" part of your question, but this makes a contour plot:

ListContourPlot@ Flatten[ MapThread[ List[Sequence @@ #1, #2] &, {Outer[List, x, y], mat}, 2],  1] 

Output

ContourPlot[  Interpolation[ FlattenAt[MapThread[List, {Outer[List,x,y], mat}, 2], List/@ Range@Length@x]][u, v], Evaluate@{u, Sequence @@ ({Min@#, Max@#} &[x])}, Evaluate@{v, Sequence @@ ({Min@#, Max@#} &[y])}] 

Mathematica graphics

I don't understand the "combining" part of your question, but this makes a contour plot:

ListContourPlot[Flatten /@ Flatten[Transpose[{Outer[List, x, y], mat}, {3, 2, 1}], 1]] 

Output

ContourPlot[ Interpolation[Flatten[Transpose[{Outer[List, x, y], mat}, {3, 2, 1}], 1]][u, v], Evaluate@{u, Sequence @@ ({Min@#, Max@#} &[x])}, Evaluate@{v, Sequence @@ ({Min@#, Max@#} &[y])}] 

Mathematica graphics

added 322 characters in body
Source Link
Dr. belisarius
  • 116.8k
  • 13
  • 208
  • 466

I don't understand the "combining" part of your question, but this makes a contour plot:

ListContourPlot@ Flatten[ MapThread[ List[Sequence @@ #1, #2] &, {Outer[List, x, y], mat}, 2], 1] 

Output

ContourPlot[ Interpolation[ FlattenAt[MapThread[List, {Outer[List,x,y], mat}, 2], List/@ Range@Length@x]][u, v], Evaluate@{u, Sequence @@ ({Min@#, Max@#} &[x])}, Evaluate@{v, Sequence @@ ({Min@#, Max@#} &[y])}] 

Mathematica graphics

I don't understand the "combining" part of your question, but this makes a contour plot:

ListContourPlot@ Flatten[ MapThread[ List[Sequence @@ #1, #2] &, {Outer[List, x, y], mat}, 2], 1] 

Output

I don't understand the "combining" part of your question, but this makes a contour plot:

ListContourPlot@ Flatten[ MapThread[ List[Sequence @@ #1, #2] &, {Outer[List, x, y], mat}, 2], 1] 

Output

ContourPlot[ Interpolation[ FlattenAt[MapThread[List, {Outer[List,x,y], mat}, 2], List/@ Range@Length@x]][u, v], Evaluate@{u, Sequence @@ ({Min@#, Max@#} &[x])}, Evaluate@{v, Sequence @@ ({Min@#, Max@#} &[y])}] 

Mathematica graphics

edited body
Source Link
Karsten7
  • 27.7k
  • 5
  • 76
  • 138
Loading
Source Link
Dr. belisarius
  • 116.8k
  • 13
  • 208
  • 466
Loading