- Describe the diagram border as a polygon. That just means you need to get the sequence of points on the boundary, IN SEQUENCE, as a closed curve.
- Use a tool like Doug Schwarz's intersections code, as found on the file exchange.
When chromaticity diagram meets a line
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Salad Box
el 4 de Abr. de 2022
Respondida: Image Analyst
el 5 de Abr. de 2022
Hi,
I used Matlab to plot a chromaticity diagram, then I plotted a line with a function y=ax+b with known a and b.
I am just wondering for the two points p1 and p2 where the line meets the chromaticity diagram, how to get the x and y values of p1 and p2?
0 comentarios
Respuesta aceptada
John D'Errico
el 4 de Abr. de 2022
Más respuestas (1)
Image Analyst
el 5 de Abr. de 2022
Try diving into the code:
>> edit plotChromaticity.m
See what you can learn from that.
0 comentarios
Ver también
Categorías
Más información sobre Printing and Saving en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!