-1
$\begingroup$

I have written a code to find values of a parameter. it shows values in a diagram with colors. I want to find the line which separates positive and negative values of the plot. Here is my code:

ListDensityPlot[datas2r, ClippingStyle -> Automatic, ColorFunction -> "BlueGreenYellow", LabelStyle -> Directive[Thick, Large], FrameLabel -> {Style["Pe", Large], Style["K_B T", Large]},PlotLegends -> BarLegend[Automatic, LegendLabel -> "\[Sigma]",     LabelStyle -> {FontSize -> 30}]]
$\endgroup$
  • 1
    $\begingroup$ In order to answer the question with certainty, you'd have to provide the data set, or a representative example. $\endgroup$ – Jens Jan 10 '17 at 4:31
4
$\begingroup$
ListDensityPlot[datas2r, 
 ClippingStyle -> Automatic, 
 ColorFunction -> "BlueGreenYellow", 
 LabelStyle -> Directive[Thick, Large], 
 FrameLabel -> {Style["Pe", Large], Style["K_B T", Large]}, 
 PlotLegends -> 
   BarLegend[Automatic, LegendLabel -> "σ", 
   LabelStyle -> {FontSize -> 30}],
 MeshFunctions -> {#3 &}, 
 Mesh -> {{0}},
 MeshStyle -> {Thick, Red}]

enter image description here

| improve this answer | |
$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.