Bu yerda bir Java amalga oshirish bir xil funksiyani: ```java import java.awt.Color; import java.util.Arrays; import javax.swing.JFrame; import org.math.plot.Plot2DPanel; <public class DepthMapVisualizer {public static void visualizeDepthMap(double[][] depthMap) { // plot panelini yaratish Plot2DPanel plot = new Plot2DPanel; // colormapni o'rnatish Color[] colors = new Color[] {.ColorBLUE, Color.GREEN, Color.YELLOW, Color.RED }; double[] depths = new double[] { 0,5, 1, 1.5 }; plot add.Legend" Depth", Color.BLACK); plot
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence