File:Three vector majorization relations.svg
From testwiki
Jump to navigation
Jump to search
Original file (SVG file, nominally 576 × 576 pixels, file size: 11 KB)
Contents
This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.
Summary
| DescriptionThree vector majorization relations.svg |
English: Three vector majorization relations
Pythonimport matplotlib.pyplot as plt
import numpy as np
# Define the x values
x = np.linspace(0, 1, 400) # More points for a smoother curve
# Calculate the y values for each function
y1 = np.sqrt(x)
y2 = x
y3 = 1 - (1 - x)**2
# Create the plot
plt.figure(figsize=(6, 6)) # Set a square figure for 1:1 aspect ratio
plt.plot(x, y1, label='x')
plt.plot(x, y3, label='y')
plt.plot(x, y2, label='z')
plt.title(rf'$x \succ z, y \succ z, \neg(x \succ y), \neg(y \succ x)$')
plt.xlim(0, 1)
plt.ylim(0, 1)
plt.legend()
plt.gca().set_aspect('equal', adjustable='box')
plt.xticks([], [])
plt.yticks([], [])
plt.show()
plt.savefig('majorization.svg')
|
| Date | |
| Source | Own work |
| Author | Cosmia Nebula |
Licensing
I, the copyright holder of this work, hereby publish it under the following license:
This file is licensed under the Creative Commons Attribution-Share Alike 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.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
This media file is uncategorized.
Please help improve this media file by adding it to one or more categories, so it may be associated with related media files (how?), and so that it can be more easily found.
Please notify the uploader with {{subst:Please link images|File:Three vector majorization relations.svg}} ~~~~ |
Captions
Add a one-line explanation of what this file represents
Items portrayed in this file
depicts
some value
19 January 2025
image/svg+xml
File history
Click on a date/time to view the file as it appeared at that time.
| Date/Time | Thumbnail | Dimensions | User | Comment | |
|---|---|---|---|---|---|
| current | 02:42, 20 January 2025 | 576 × 576 (11 KB) | wikimediacommons>Cosmia Nebula | fx |
File usage
There are no pages that use this file.