Skip to main content
added 133 characters in body
Source Link
Dr. belisarius
  • 116.2k
  • 13
  • 205
  • 456

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.2k
  • 13
  • 205
  • 456

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.2k
  • 13
  • 205
  • 456

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.6k
  • 5
  • 74
  • 135
Loading
Source Link
Dr. belisarius
  • 116.2k
  • 13
  • 205
  • 456
Loading