Cusp_at_(0,0.5).svg


Summary

Description
Español: Function displaying a cusp at (0,1/2).
Date
Source Own work
Author Nicoguaro
SVG development
InfoField
The SVG code is valid .
This plot was created with Matplotlib .
Source code
InfoField

Python code

import numpy as np
import matplotlib.pyplot as plt

plt.rcParams["font.family"] = "serif"
plt.rcParams["font.size"] = 14
plt.rcParams["mathtext.fontset"] = "cm"
plt.rcParams["axes.facecolor"] = "white"
plt.rcParams["axes.linewidth"] = 0
plt.rcParams["xtick.direction"] = "in"
plt.rcParams["ytick.direction"] = "in"


npts = 100
x = np.geomspace(1e-6, 3, npts//2)
x = np.hstack((-x[::-1], [0], x))
y = np.sqrt(np.abs(x)) + 0.5
plt.figure(figsize=(6, 4))
plt.plot(x, y, label=r"$\sqrt{

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution
This file is licensed under the Creative Commons Attribution 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.

Captions

Function displaying a cusp at (0,1/2).

Items portrayed in this file

depicts

7 March 2019