mindelec.vision.print_graph_1d ============================== .. image:: https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/website-images/master/resource/_static/logo_source.svg :target: https://gitee.com/mindspore/mindscience/blob/master/docs/api_python/mindelec/vision/mindelec.vision.print_graph_1d.rst :alt: 查看源文件 .. py:function:: mindelec.vision.print_graph_1d(name, x, path, clear=True) 绘制1d散点图。 参数: - **name** (str) - 图形的名称。 - **x** (numpy.ndarray) - 要绘制的数据,shape为 :math:`(dim\_print,)`。 - **path** (str) - 图形的保存路径。 - **clear** (bool) - 指定是否清除当前轴。默认值: ``True``。