-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$

closed as off-topic by Jens, corey979, Sascha, happy fish, Feyre Jan 10 '17 at 14:08

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question cannot be answered without additional information. Questions on problems in code must describe the specific problem and include valid code to reproduce it. Any data used for programming examples should be embedded in the question or code to generate the (fake) data must be included." – Jens, Sascha, happy fish, Feyre
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 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

$\endgroup$

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